Skip to content

Commit

Permalink
Reset disabled color and opacity of selects because Chrome
Browse files Browse the repository at this point in the history
Fixes #33089.
  • Loading branch information
mdo committed Feb 26, 2021
1 parent 5693f1a commit 2ff50c5
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions scss/_reboot.scss
Original file line number Diff line number Diff line change
Expand Up @@ -420,24 +420,27 @@ textarea {
}

// Remove the inheritance of text transform in Firefox

button,
select {
text-transform: none;
}

// Set the cursor for non-`<button>` buttons
//
// Details at https://github.com/twbs/bootstrap/pull/30562
[role="button"] {
cursor: pointer;
}

// Remove the inheritance of word-wrap in Safari.
// See https://github.com/twbs/bootstrap/issues/24990

select {
// Remove the inheritance of word-wrap in Safari.
// See https://github.com/twbs/bootstrap/issues/24990
word-wrap: normal;

// Undo the opacity change from Chrome
&:disabled {
color: $input-color;
opacity: 1;
}
}

// Remove the dropdown arrow in Chrome from inputs built with datalists.
Expand Down

0 comments on commit 2ff50c5

Please sign in to comment.