Commit c0a4059
committed
fix: restore deck group masonry columns
The card-size refactor set the group container's column-width to
min(20rem, 100%). column-width only accepts a <length>, not a percentage,
so the value was invalid and the layout collapsed to a single column.
Use a plain rem length (size.widthRem). Cards still clamp to the viewport
via their own min(width, 100%), and column-width naturally drops to one
column on narrow screens.1 parent 1a0504d commit c0a4059
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
0 commit comments