Fix bgcolor of option els when in FF sidebar

This commit is contained in:
Thomas Rittson 2021-04-02 14:55:23 +10:00
parent a9e6a05f23
commit 7c0423a1c0
1 changed files with 6 additions and 0 deletions

View File

@ -338,3 +338,9 @@ input[type="password"]::-ms-reveal {
}
}
}
// Workaround for rendering error in Firefox sidebar when in dark mode
// option elements will not render background-color correctly if identical to parent background-color
html.theme_dark select option {
background-color: adjust-color(map-get(map-get($themes, dark), inputBackgroundColor), +1);
}