@commonpub/layer 0.7.16 → 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,15 +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
- max-width: 100%;
782
- max-height: 500px;
779
+ width: 100%;
783
780
  height: auto;
784
781
  display: block;
785
- margin: 0 auto;
782
+ border-radius: var(--radius, 0);
786
783
  }
787
784
 
788
785
  /* ── RESPONSIVE ── */
@@ -334,15 +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
- max-width: 100%;
342
- max-height: 500px;
339
+ width: 100%;
343
340
  height: auto;
344
341
  display: block;
345
- margin: 0 auto;
342
+ border-radius: var(--radius, 0);
346
343
  }
347
344
 
348
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,19 +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
- max-width: 100%;
941
- max-height: 500px;
948
+ width: 100%;
942
949
  height: auto;
943
950
  display: block;
944
- margin: 0 auto;
951
+ border-radius: var(--radius, 0);
945
952
  }
946
953
 
947
954
  /* ── PROSE ── */
@@ -949,6 +956,8 @@ async function handleBuild(): Promise<void> {
949
956
  font-size: 13px;
950
957
  line-height: 1.8;
951
958
  color: var(--text-dim);
959
+ overflow-wrap: break-word;
960
+ word-break: break-word;
952
961
  }
953
962
 
954
963
  .cpub-prose :deep(h2),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commonpub/layer",
3
- "version": "0.7.16",
3
+ "version": "0.7.17",
4
4
  "type": "module",
5
5
  "main": "./nuxt.config.ts",
6
6
  "files": [
@@ -51,13 +51,13 @@
51
51
  "vue-router": "^4.3.0",
52
52
  "zod": "^4.3.6",
53
53
  "@commonpub/auth": "0.5.0",
54
- "@commonpub/editor": "0.7.5",
54
+ "@commonpub/config": "0.9.0",
55
55
  "@commonpub/docs": "0.6.2",
56
56
  "@commonpub/learning": "0.5.0",
57
- "@commonpub/config": "0.9.0",
58
- "@commonpub/server": "2.27.7",
59
57
  "@commonpub/explainer": "0.7.6",
58
+ "@commonpub/editor": "0.7.5",
60
59
  "@commonpub/ui": "0.8.5",
60
+ "@commonpub/server": "2.27.7",
61
61
  "@commonpub/protocol": "0.9.7",
62
62
  "@commonpub/schema": "0.9.5"
63
63
  },