@veluai/velu 0.2.29 → 0.2.30
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/package.json +1 -1
- package/runtime/velu-ui/base.css +19 -2
package/package.json
CHANGED
package/runtime/velu-ui/base.css
CHANGED
|
@@ -257,16 +257,33 @@
|
|
|
257
257
|
width: max-content;
|
|
258
258
|
max-width: 100%;
|
|
259
259
|
overflow-x: auto;
|
|
260
|
-
|
|
260
|
+
/* `separate` (not `collapse`): collapsed borders round a 0.5px hairline up
|
|
261
|
+
to a full device pixel, so the grid would read heavier than the component
|
|
262
|
+
boxes (cards, code blocks) that use the same --border-width. Separate mode
|
|
263
|
+
draws each line as a normal element border, matching them exactly. */
|
|
264
|
+
border-collapse: separate;
|
|
265
|
+
border-spacing: 0;
|
|
261
266
|
border: var(--border-width) solid var(--border-color);
|
|
267
|
+
/* Rounded corners to match the component boxes (code blocks, accordions).
|
|
268
|
+
`overflow-x: auto` clips the header shading to the radius. */
|
|
269
|
+
border-radius: var(--radius-sm);
|
|
262
270
|
font-size: var(--f-body);
|
|
263
271
|
}
|
|
272
|
+
/* Each cell draws only its top + inline-start line; the table's own border
|
|
273
|
+
closes the outer top/left edges. Shared single lines → no doubling. */
|
|
264
274
|
.velu-prose :is(th, td) {
|
|
265
275
|
padding: var(--s-1) var(--s0);
|
|
266
|
-
border: var(--border-width) solid var(--border-color);
|
|
276
|
+
border-block-start: var(--border-width) solid var(--border-color);
|
|
277
|
+
border-inline-start: var(--border-width) solid var(--border-color);
|
|
267
278
|
text-align: start;
|
|
268
279
|
vertical-align: top;
|
|
269
280
|
}
|
|
281
|
+
.velu-prose tr:first-child > :is(th, td) {
|
|
282
|
+
border-block-start: 0;
|
|
283
|
+
}
|
|
284
|
+
.velu-prose :is(th, td):first-child {
|
|
285
|
+
border-inline-start: 0;
|
|
286
|
+
}
|
|
270
287
|
.velu-prose thead th {
|
|
271
288
|
background: var(--surface-color);
|
|
272
289
|
font-weight: var(--weight-semibold);
|