Skip to content

Commit 83dc45b

Browse files
MartijnCuppensXhmikosR
authored andcommitted
Prevent select word wrap in Safari (#27932)
1 parent c71b291 commit 83dc45b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scss/_reboot.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,14 @@ select {
331331
text-transform: none; // Remove the inheritance of text transform in Firefox
332332
}
333333

334+
// Remove the inheritance of word-wrap in Safari.
335+
//
336+
// Details at https://github.com/twbs/bootstrap/issues/24990
337+
select {
338+
word-wrap: normal;
339+
}
340+
341+
334342
// 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
335343
// controls in Android 4.
336344
// 2. Correct the inability to style clickable types in iOS and Safari.

0 commit comments

Comments
 (0)