@commonpub/layer 0.7.15 → 0.7.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -774,13 +774,12 @@ useJsonLd({
774
774
  /* ── COVER PHOTO (in-body) ── */
775
775
  .cpub-cover-photo {
776
776
  margin-bottom: 24px;
777
- border: var(--border-width-default) solid var(--border);
778
- overflow: hidden;
779
777
  }
780
778
  .cpub-cover-photo-img {
781
779
  width: 100%;
782
- display: block;
783
780
  height: auto;
781
+ display: block;
782
+ border-radius: var(--radius, 0);
784
783
  }
785
784
 
786
785
  /* ── RESPONSIVE ── */
@@ -334,13 +334,12 @@ const hasSeries = computed(() => !!seriesTitle.value && seriesTotalParts.value >
334
334
  /* ── COVER PHOTO (in-body) ── */
335
335
  .cpub-cover-photo {
336
336
  margin-bottom: 24px;
337
- border: var(--border-width-default) solid var(--border);
338
- overflow: hidden;
339
337
  }
340
338
  .cpub-cover-photo-img {
341
339
  width: 100%;
342
- display: block;
343
340
  height: auto;
341
+ display: block;
342
+ border-radius: var(--radius, 0);
344
343
  }
345
344
 
346
345
  /* ── ENGAGEMENT ROW ── */
@@ -590,6 +590,11 @@ async function handleBuild(): Promise<void> {
590
590
 
591
591
  <style scoped>
592
592
  /* ── HERO COVER ── */
593
+ .cpub-project-view {
594
+ overflow-x: hidden;
595
+ width: 100%;
596
+ }
597
+
593
598
  .cpub-hero-cover {
594
599
  position: relative;
595
600
  height: 280px;
@@ -929,17 +934,21 @@ async function handleBuild(): Promise<void> {
929
934
  grid-template-columns: 200px 1fr 260px;
930
935
  }
931
936
 
937
+ .cpub-content-col {
938
+ min-width: 0;
939
+ overflow-wrap: break-word;
940
+ }
941
+
932
942
  /* ── COVER PHOTO (in-body) ── */
933
943
  .cpub-cover-photo {
934
944
  margin-bottom: 24px;
935
- border: var(--border-width-default) solid var(--border);
936
- overflow: hidden;
937
945
  }
938
946
 
939
947
  .cpub-cover-photo-img {
940
948
  width: 100%;
941
- display: block;
942
949
  height: auto;
950
+ display: block;
951
+ border-radius: var(--radius, 0);
943
952
  }
944
953
 
945
954
  /* ── PROSE ── */
@@ -947,6 +956,8 @@ async function handleBuild(): Promise<void> {
947
956
  font-size: 13px;
948
957
  line-height: 1.8;
949
958
  color: var(--text-dim);
959
+ overflow-wrap: break-word;
960
+ word-break: break-word;
950
961
  }
951
962
 
952
963
  .cpub-prose :deep(h2),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commonpub/layer",
3
- "version": "0.7.15",
3
+ "version": "0.7.17",
4
4
  "type": "module",
5
5
  "main": "./nuxt.config.ts",
6
6
  "files": [
@@ -50,16 +50,16 @@
50
50
  "vue": "^3.4.0",
51
51
  "vue-router": "^4.3.0",
52
52
  "zod": "^4.3.6",
53
- "@commonpub/config": "0.9.0",
54
- "@commonpub/editor": "0.7.5",
55
53
  "@commonpub/auth": "0.5.0",
54
+ "@commonpub/config": "0.9.0",
55
+ "@commonpub/docs": "0.6.2",
56
56
  "@commonpub/learning": "0.5.0",
57
57
  "@commonpub/explainer": "0.7.6",
58
- "@commonpub/docs": "0.6.2",
59
- "@commonpub/schema": "0.9.5",
58
+ "@commonpub/editor": "0.7.5",
60
59
  "@commonpub/ui": "0.8.5",
61
60
  "@commonpub/server": "2.27.7",
62
- "@commonpub/protocol": "0.9.7"
61
+ "@commonpub/protocol": "0.9.7",
62
+ "@commonpub/schema": "0.9.5"
63
63
  },
64
64
  "devDependencies": {
65
65
  "@testing-library/jest-dom": "^6.9.1",