aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn Cuppens <[email protected]>2019-01-04 10:40:10 +0100
committerXhmikosR <[email protected]>2019-01-04 11:40:10 +0200
commit83dc45b31b2124d21bdc05243e2b8daa29931021 (patch)
tree1aed79a3de23ac1a845cddffa261c28f69666ea9
parentc71b291cd9f38cd2770f1a79e83ba0216db3ef9c (diff)
downloadbootstrap-83dc45b31b2124d21bdc05243e2b8daa29931021.tar.xz
bootstrap-83dc45b31b2124d21bdc05243e2b8daa29931021.zip
Prevent select word wrap in Safari (#27932)
-rw-r--r--scss/_reboot.scss8
1 files changed, 8 insertions, 0 deletions
diff --git a/scss/_reboot.scss b/scss/_reboot.scss
index b5c15d53c..ebbc17901 100644
--- a/scss/_reboot.scss
+++ b/scss/_reboot.scss
@@ -331,6 +331,14 @@ select {
text-transform: none; // Remove the inheritance of text transform in Firefox
}
+// Remove the inheritance of word-wrap in Safari.
+//
+// Details at https://github.com/twbs/bootstrap/issues/24990
+select {
+ word-wrap: normal;
+}
+
+
// 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
// controls in Android 4.
// 2. Correct the inability to style clickable types in iOS and Safari.