fix: make filter dropdown option values visible in Firefox (fixes #40) #48

Open
fern-oss-17523 wants to merge 1 commit from fern-oss-17523/v2-web:fix/filter-dropdown-option-colors into master
2 changed files with 19 additions and 0 deletions

View file

@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## Unreleased
### Fixed
- Filter dropdown values not visible in Firefox (issue #40)
## 0.1.0 (2022-01-21)
Initial release

View file

@ -189,4 +189,17 @@
.App__Footer__Filters__FilterContainer__Filter__Input {
min-width: 5rem;
}
/*
* Issue #40 "Invisible filter dropdown values":
* UIkit only colors <option> text (.uk-select ... option { color: #666 })
* without setting its background, while :root sets color-scheme: dark.
* Firefox paints the open dropdown on a dark surface in that case,
* making the #666 text invisible; Chromium keeps a light surface.
* Pin option rows to an explicit light surface with dark text so all
* engines render the dropdown values as visibly as the closed control.
*/
.App__Footer__Filters__FilterContainer__Filter__Input option {
color: #666;
background-color: #fff;
}
</style>