@tangle-network/brand 1.19.5 → 1.19.6
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.
- package/CHANGELOG.md +6 -0
- package/package.json +1 -1
- package/src/styles/globals.css +10 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.19.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 05857b3: The `.tangle-prose` table rules (`display: block`, a sideways scroll on the table itself, and cell borders) now skip the Markdown table card, which marks its table `data-markdown-table` and scrolls inside its card. The prose link color and underline skip link chips (`data-link-chip`).
|
|
8
|
+
|
|
3
9
|
## 1.19.5
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/package.json
CHANGED
package/src/styles/globals.css
CHANGED
|
@@ -196,7 +196,8 @@
|
|
|
196
196
|
.tangle-prose li::marker { color: var(--text-muted); }
|
|
197
197
|
.tangle-prose li { margin: 0.25em 0; }
|
|
198
198
|
.tangle-prose li > ul, .tangle-prose li > ol { margin-top: 0.25em; }
|
|
199
|
-
|
|
199
|
+
/* A link chip draws its own surface; prose link colour would fight it. */
|
|
200
|
+
.tangle-prose a:not([data-link-chip]) {
|
|
200
201
|
color: var(--accent-text);
|
|
201
202
|
text-decoration: underline;
|
|
202
203
|
text-underline-offset: 2px;
|
|
@@ -217,8 +218,10 @@
|
|
|
217
218
|
.tangle-prose pre { margin: 0.85em 0; }
|
|
218
219
|
|
|
219
220
|
/* Tables — border-collapse with hairline dividers + real cell padding, so
|
|
220
|
-
* columns read as a grid instead of colliding (the "no dividers" report).
|
|
221
|
-
|
|
221
|
+
* columns read as a grid instead of colliding (the "no dividers" report).
|
|
222
|
+
* The Markdown renderer's table card (`data-markdown-table`) styles itself
|
|
223
|
+
* and scrolls inside its card, so these rules skip it. */
|
|
224
|
+
.tangle-prose table:not([data-markdown-table]) {
|
|
222
225
|
width: 100%;
|
|
223
226
|
border-collapse: collapse;
|
|
224
227
|
margin: 0.85em 0;
|
|
@@ -226,20 +229,20 @@
|
|
|
226
229
|
display: block;
|
|
227
230
|
overflow-x: auto;
|
|
228
231
|
}
|
|
229
|
-
.tangle-prose thead { border-bottom: 1px solid var(--border-default); }
|
|
230
|
-
.tangle-prose th {
|
|
232
|
+
.tangle-prose table:not([data-markdown-table]) thead { border-bottom: 1px solid var(--border-default); }
|
|
233
|
+
.tangle-prose table:not([data-markdown-table]) th {
|
|
231
234
|
text-align: left;
|
|
232
235
|
font-weight: 600;
|
|
233
236
|
padding: 0.5em 0.85em;
|
|
234
237
|
color: var(--text-primary);
|
|
235
238
|
white-space: nowrap;
|
|
236
239
|
}
|
|
237
|
-
.tangle-prose td {
|
|
240
|
+
.tangle-prose table:not([data-markdown-table]) td {
|
|
238
241
|
padding: 0.5em 0.85em;
|
|
239
242
|
border-top: 1px solid var(--border-subtle);
|
|
240
243
|
vertical-align: top;
|
|
241
244
|
}
|
|
242
|
-
.tangle-prose
|
|
245
|
+
.tangle-prose table:not([data-markdown-table]) :is(th, td):not(:first-child) {
|
|
243
246
|
border-left: 1px solid var(--border-subtle);
|
|
244
247
|
}
|
|
245
248
|
|