1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-13 17:14:04 +02: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

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