File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @cloudfour/patterns ' : patch
3+ ---
4+
5+ Fix issue where Deck objects would unexpectedly stretch columns at wider viewports
Original file line number Diff line number Diff line change 1818 * We define a media query for our initial grid so child elements will flex
1919 * for viewports smaller than our minimum column size.
2020 *
21- * Our use of `auto-fit` means columns will be automatically created as space
22- * allows.
21+ * `auto-fill` creates extra columns as space allows, and will not stretch
22+ * columns to fill empty space (which makes sure adjacent objects with
23+ * differing item counts will stay aligned).
2324 */
2425
2526 @media (width >= breakpoint .$xs ) {
2627 grid-template-columns : repeat (
27- auto-fit ,
28+ auto-fill ,
2829 minmax (#{size .$width-card-column-min } , 1fr )
2930 );
3031 }
You can’t perform that action at this time.
0 commit comments