Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Set the background color on `<option>` to fix readability issue (#5278)
Dhruv Bhanushalid979b1c7b504
diff --git a/frontend/src/components/VSelectField/VSelectField.vue b/frontend/src/components/VSelectField/VSelectField.vueindex dd0033315..93202b1cd 100644--- a/frontend/src/components/VSelectField/VSelectField.vue+++ b/frontend/src/components/VSelectField/VSelectField.vue@@ -104,10 +104,13 @@ const splitAttrs = computed(() => {v-bind="splitAttrs.nonClassAttrs":aria-label="labelText">- <option v-if="blankText" disabled value="">{{ blankText }}</option>+ <option v-if="blankText" class="bg-overlay" disabled value="">+ {{ blankText }}+ </option><optionv-for="choice in choices":key="choice.key"+ class="bg-overlay":value="choice.key":selected="choice.key === selectValue ? true : undefined">