1fr vs auto¶
auto is shy
1fr is greedy
- grid calclates the min width of the auto items
- gives the rest of the space to fr units
- if there isn't any fr units, give the rest of the space to the auto items
If there isn't enough space, auto looks bigger than 1fr?
1fr might be greedy when it comes to taking space away too????
Auto-fill vs Auto-fit¶
- adds new empty columns that occupy space
- make the columns fit the space
- empty columns occupy no space
Last update: 2022-11-04