@flytedan/flytebot-design-system 0.55.0 → 0.55.1
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/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/components.css +4 -2
package/package.json
CHANGED
package/styles/components.css
CHANGED
|
@@ -3668,10 +3668,12 @@
|
|
|
3668
3668
|
shared with every other flex/grid consumer of the spacing scale, not a second grid-only
|
|
3669
3669
|
value. Equal-height rows need no explicit rule: `align-items: stretch` is Grid's own
|
|
3670
3670
|
default, restated below only so it can't silently regress if that default is ever
|
|
3671
|
-
overridden elsewhere for `.fd-card-grid`'s selector specifically.
|
|
3671
|
+
overridden elsewhere for `.fd-card-grid`'s selector specifically. MP-299: the track floor is
|
|
3672
|
+
`min(100%, var(--card-grid-min))` so a `minCardWidth` wider than the container (a 560px floor on
|
|
3673
|
+
a 375px phone) collapses to one full-width column instead of a track that overflows it. */
|
|
3672
3674
|
.fd-card-grid {
|
|
3673
3675
|
display: grid;
|
|
3674
|
-
grid-template-columns: repeat(auto-fill, minmax(var(--card-grid-min, 280px), 1fr));
|
|
3676
|
+
grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--card-grid-min, 280px)), 1fr));
|
|
3675
3677
|
align-items: stretch;
|
|
3676
3678
|
}
|
|
3677
3679
|
/* MP-271 review (comment 2920, finding 2): CardGrid wraps every item in its own
|