0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00

Prevent .row from shrinking in flex container (#30940)

This commit is contained in:
Gaël Poupard 2020-06-08 19:47:43 +02:00 committed by GitHub
parent 5faf41eb48
commit 92a728eae6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,7 @@
--bs-gutter-x: #{$gutter};
--bs-gutter-y: 0;
display: flex;
flex: 1 0 100%;
flex-wrap: wrap;
margin-top: calc(var(--bs-gutter-y) * -1); // stylelint-disable-line function-blacklist
margin-right: calc(var(--bs-gutter-x) / -2); // stylelint-disable-line function-blacklist