Replies: 1 comment
-
Regardless of the answer to the above, it might make sense to add this (flex-shrink being 0) to the migration guide under Grid updates, along side the bullet that says that "Columns no longer have position: relative applied". WDYT? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
When the v5 grid system was introduced (#28517),
position: relative
was removed because it was felt that it didn't make sense to impose that for all columns:Does anyone know why the default flex-shrink value (of 1) was overridden with
flex-shrink: 0
for all columns1. See below for relevant excerpts of #28517.Thanks!
bootstrap/scss/mixins/_grid.scss
Lines 16 to 28 in 1299b16
bootstrap/scss/_grid.scss
Lines 12 to 18 in 1299b16
Footnotes
It's actually added to all
.row
children via.row > *
. ↩Beta Was this translation helpful? Give feedback.
All reactions