@commonpub/layer 0.21.19 → 0.21.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.
@@ -201,6 +201,13 @@ pre.hljs .hljs-title.class_ { color: var(--hljs-variable); }
201
201
  font-size: 13px;
202
202
  line-height: 1.6;
203
203
  overflow-x: auto;
204
+ /* Reset the global `.cpub-prose pre` rule from prose.css that adds
205
+ border + 16px top/bottom margin to every <pre> inside prose. Inside
206
+ a BlockCodeView the container already owns the border + the header
207
+ sits directly above the body — the global rule's margin and extra
208
+ border created a visible "floating bar with gap then code block"
209
+ effect (heatsynclabs.io report, 2026-05-21). */
210
+ border: 0 !important;
204
211
  }
205
212
 
206
213
  .cpub-code-body code {
@@ -77,6 +77,15 @@ const totalPrice = computed(() => {
77
77
 
78
78
  .cpub-parts-table { width: 100%; border-collapse: collapse; }
79
79
 
80
+ /* Reset the global `.cpub-prose th` rule from prose.css that puts a
81
+ 1px border on every <th>. With `border-collapse: collapse`, those
82
+ borders merge into thin lines that visually split the dark header
83
+ row into separate "rounded gap" boxes against the var(--text)
84
+ background. The container's outer border already frames the row;
85
+ internal cell borders are not wanted (heatsynclabs.io report,
86
+ 2026-05-21). Use !important to beat the global rule (specificity
87
+ 0,2,0 vs 0,1,1 would normally win, but the global rule sets
88
+ `border` which the scoped rule doesn't, so it leaks through). */
80
89
  .cpub-parts-table th {
81
90
  font-family: var(--font-mono);
82
91
  font-size: 9px;
@@ -87,10 +96,12 @@ const totalPrice = computed(() => {
87
96
  padding: 8px 12px;
88
97
  background: var(--text);
89
98
  color: var(--surface);
99
+ border: 0 !important;
90
100
  }
91
101
 
92
102
  .cpub-parts-table td {
93
103
  padding: 10px 12px;
104
+ border: 0;
94
105
  border-bottom: var(--border-width-default) solid var(--border2);
95
106
  font-size: 13px;
96
107
  color: var(--text-dim);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commonpub/layer",
3
- "version": "0.21.19",
3
+ "version": "0.21.20",
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.13.0",
53
+ "@commonpub/auth": "0.6.0",
54
54
  "@commonpub/docs": "0.6.3",
55
- "@commonpub/editor": "0.7.11",
55
+ "@commonpub/config": "0.13.0",
56
+ "@commonpub/explainer": "0.7.15",
57
+ "@commonpub/learning": "0.5.2",
56
58
  "@commonpub/protocol": "0.12.0",
57
59
  "@commonpub/schema": "0.16.0",
58
- "@commonpub/server": "2.55.0",
60
+ "@commonpub/editor": "0.7.11",
59
61
  "@commonpub/ui": "0.8.5",
60
- "@commonpub/auth": "0.6.0",
61
- "@commonpub/learning": "0.5.2",
62
- "@commonpub/explainer": "0.7.15"
62
+ "@commonpub/server": "2.55.0"
63
63
  },
64
64
  "devDependencies": {
65
65
  "@testing-library/jest-dom": "^6.9.1",