@pretable/ui 0.0.11 → 0.0.12
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/dist/grid.css +7 -0
- package/package.json +1 -1
package/dist/grid.css
CHANGED
|
@@ -488,6 +488,13 @@
|
|
|
488
488
|
align-items: center;
|
|
489
489
|
gap: 4px;
|
|
490
490
|
box-sizing: border-box;
|
|
491
|
+
/* No `flex: none` here, deliberately. The panel is a nowrap flex row, so
|
|
492
|
+
the obvious worry is that its chips shrink towards min-content instead
|
|
493
|
+
of letting the strip overflow and scroll. They do not: the label's
|
|
494
|
+
`white-space: nowrap` makes each chip's min-content size its full label
|
|
495
|
+
width, capped below by this `max-width`, and a flex item never shrinks
|
|
496
|
+
past its automatic minimum. Measured in both engines — adding `flex:
|
|
497
|
+
none` changes no rectangle. */
|
|
491
498
|
max-width: 14em;
|
|
492
499
|
padding: 2px 4px;
|
|
493
500
|
border: 1px solid var(--pretable-rule);
|