@commonpub/layer 0.7.19 → 0.7.20
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.
|
@@ -603,10 +603,18 @@ onUnmounted(() => { document.removeEventListener('keydown', onKeydown); });
|
|
|
603
603
|
.cpub-content-wrap {
|
|
604
604
|
max-width: 720px;
|
|
605
605
|
margin: 0 auto;
|
|
606
|
-
padding: 44px 36px 80px;
|
|
606
|
+
padding: 44px clamp(12px, 4vw, 36px) 80px;
|
|
607
607
|
min-height: calc(100vh - 51px - 80px);
|
|
608
|
+
overflow-wrap: break-word;
|
|
609
|
+
word-break: break-word;
|
|
608
610
|
}
|
|
609
611
|
|
|
612
|
+
/* Prevent content overflow */
|
|
613
|
+
.cpub-content-wrap :deep(img),
|
|
614
|
+
.cpub-content-wrap :deep(video),
|
|
615
|
+
.cpub-content-wrap :deep(iframe) { max-width: 100%; height: auto; }
|
|
616
|
+
.cpub-content-wrap :deep(pre) { overflow-x: auto; -webkit-overflow-scrolling: touch; }
|
|
617
|
+
|
|
610
618
|
/* ── COVER IMAGE ── */
|
|
611
619
|
.cpub-explainer-cover {
|
|
612
620
|
width: 100%;
|
|
@@ -773,7 +781,7 @@ onUnmounted(() => { document.removeEventListener('keydown', onKeydown); });
|
|
|
773
781
|
@media (max-width: 768px) {
|
|
774
782
|
.cpub-explainer-sidebar { display: none; }
|
|
775
783
|
.cpub-mobile-author { display: flex; }
|
|
776
|
-
.cpub-content-wrap { padding: 24px
|
|
784
|
+
.cpub-content-wrap { padding-top: 24px; padding-bottom: 48px; }
|
|
777
785
|
.cpub-section-nav { flex-direction: column; gap: 16px; }
|
|
778
786
|
.cpub-section-title { font-size: 22px; }
|
|
779
787
|
.cpub-explainer-topbar { gap: 6px; padding: 0 10px; }
|
|
@@ -786,7 +794,7 @@ onUnmounted(() => { document.removeEventListener('keydown', onKeydown); });
|
|
|
786
794
|
}
|
|
787
795
|
|
|
788
796
|
@media (max-width: 480px) {
|
|
789
|
-
.cpub-content-wrap { padding: 16px
|
|
797
|
+
.cpub-content-wrap { padding-top: 16px; padding-bottom: 40px; }
|
|
790
798
|
.cpub-section-title { font-size: 18px; }
|
|
791
799
|
.cpub-section-body { font-size: 14px; }
|
|
792
800
|
.cpub-section-num-badge { width: 28px; height: 28px; font-size: 11px; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commonpub/layer",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.20",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./nuxt.config.ts",
|
|
6
6
|
"files": [
|
|
@@ -51,14 +51,14 @@
|
|
|
51
51
|
"vue-router": "^4.3.0",
|
|
52
52
|
"zod": "^4.3.6",
|
|
53
53
|
"@commonpub/editor": "0.7.5",
|
|
54
|
-
"@commonpub/docs": "0.6.2",
|
|
55
54
|
"@commonpub/auth": "0.5.0",
|
|
55
|
+
"@commonpub/docs": "0.6.2",
|
|
56
56
|
"@commonpub/config": "0.9.0",
|
|
57
|
-
"@commonpub/explainer": "0.7.6",
|
|
58
57
|
"@commonpub/learning": "0.5.0",
|
|
59
58
|
"@commonpub/server": "2.27.7",
|
|
60
|
-
"@commonpub/
|
|
59
|
+
"@commonpub/explainer": "0.7.6",
|
|
61
60
|
"@commonpub/ui": "0.8.5",
|
|
61
|
+
"@commonpub/protocol": "0.9.7",
|
|
62
62
|
"@commonpub/schema": "0.9.5"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|