Skip to content

Commit

Permalink
Merge pull request #4733 from nextcloud-libraries/fix/nc-select-selec…
Browse files Browse the repository at this point in the history
…ted-option-open

fix(NcSelect): Ensure selected option has enough contrast when the menu is opened
  • Loading branch information
Pytal authored Nov 1, 2023
2 parents 99a53d2 + 372dedb commit d2d0323
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/NcSelect/NcSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1143,6 +1143,9 @@ body {
.vs__selected {
// Fix `max-width` for `position: absolute`
max-width: 100%;
// Fix color to be accessible
opacity: 1;
color: var(--color-text-maxcontrast);
}
}
.vs__selected-options {
Expand Down

0 comments on commit d2d0323

Please sign in to comment.