Created
January 26, 2022 23:26
-
-
Save kclay/e730da1be63ef1cb6a06b2e3258bacf9 to your computer and use it in GitHub Desktop.
bootstrap+5.1.0.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/node_modules/bootstrap/scss/mixins/_grid.scss b/node_modules/bootstrap/scss/mixins/_grid.scss | |
index 59cc563..353a5a4 100644 | |
--- a/node_modules/bootstrap/scss/mixins/_grid.scss | |
+++ b/node_modules/bootstrap/scss/mixins/_grid.scss | |
@@ -7,9 +7,9 @@ | |
--#{$variable-prefix}gutter-y: 0; | |
display: flex; | |
flex-wrap: wrap; | |
- margin-top: calc(var(--#{$variable-prefix}gutter-y) * -1); // stylelint-disable-line function-disallowed-list | |
- margin-right: calc(var(--#{$variable-prefix}gutter-x) * -.5); // stylelint-disable-line function-disallowed-list | |
- margin-left: calc(var(--#{$variable-prefix}gutter-x) * -.5); // stylelint-disable-line function-disallowed-list | |
+ margin-top: calc(-1 * var(--#{$variable-prefix}gutter-y)); // stylelint-disable-line function-disallowed-list | |
+ margin-right: calc(-.5 * var(--#{$variable-prefix}gutter-x)); // stylelint-disable-line function-disallowed-list | |
+ margin-left: calc(-.5 * var(--#{$variable-prefix}gutter-x)); // stylelint-disable-line function-disallowed-list | |
} | |
@mixin make-col-ready($gutter: $grid-gutter-width) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment