aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeilv <[email protected]>2015-11-22 22:29:48 +0200
committerChris Rebert <[email protected]>2015-11-22 20:41:34 -0800
commit2c3a592a6edb6596ca05c240abf7b053f6333c02 (patch)
tree1b16e0f0de7ec710eb35db567183ceb7c6a4fea7
parent4d92e2c7ec600d07d4dceb2e9c83d9bcf0ba9268 (diff)
downloadbootstrap-2c3a592a6edb6596ca05c240abf7b053f6333c02.tar.xz
bootstrap-2c3a592a6edb6596ca05c240abf7b053f6333c02.zip
Add missing !important-s to responsive text alignment classes; fixes #18300
Closes #18314 by merging a tweaked version of it.
-rw-r--r--scss/_utilities.scss6
1 files changed, 3 insertions, 3 deletions
diff --git a/scss/_utilities.scss b/scss/_utilities.scss
index 521d2f987..3a042bf39 100644
--- a/scss/_utilities.scss
+++ b/scss/_utilities.scss
@@ -57,9 +57,9 @@
@each $breakpoint in map-keys($grid-breakpoints) {
@include media-breakpoint-up($breakpoint) {
- .text-#{$breakpoint}-left { text-align: left; }
- .text-#{$breakpoint}-right { text-align: right; }
- .text-#{$breakpoint}-center { text-align: center; }
+ .text-#{$breakpoint}-left { text-align: left !important; }
+ .text-#{$breakpoint}-right { text-align: right !important; }
+ .text-#{$breakpoint}-center { text-align: center !important; }
}
}