aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2015-10-26 21:33:12 -0700
committerChris Rebert <[email protected]>2015-10-26 21:33:12 -0700
commitee92e6d44d494c8bd317b401b10a1731d49fc456 (patch)
tree118bdfb6785efbe7e288462fa935980401edb5d7
parentee64b79a0cec0db5ebe5cf3df148930ec6a5bdb9 (diff)
parent66039030e4bb8da3e763e6b3e0c8798291c6e388 (diff)
downloadbootstrap-ee92e6d44d494c8bd317b401b10a1731d49fc456.tar.xz
bootstrap-ee92e6d44d494c8bd317b401b10a1731d49fc456.zip
Merge pull request #18031 from twbs/fix-16836
Add !important to text alignment utility classes
-rw-r--r--scss/_utilities.scss10
1 files changed, 5 insertions, 5 deletions
diff --git a/scss/_utilities.scss b/scss/_utilities.scss
index d5bd4dfe0..fa3b6e1d2 100644
--- a/scss/_utilities.scss
+++ b/scss/_utilities.scss
@@ -51,11 +51,11 @@
// Alignment
-.text-left { text-align: left; }
-.text-right { text-align: right; }
-.text-center { text-align: center; }
-.text-justify { text-align: justify; }
-.text-nowrap { white-space: nowrap; }
+.text-left { text-align: left !important; }
+.text-right { text-align: right !important; }
+.text-center { text-align: center !important; }
+.text-justify { text-align: justify !important; }
+.text-nowrap { white-space: nowrap !important; }
.text-truncate { @include text-truncate; }
// Responsive alignment