Dropdown CSS fix

workaround to remove duplicate highlights.
This commit is contained in:
zahand
2023-03-29 07:28:46 +03:30
parent 3856ada5cc
commit a168a3affd
+2 -2
View File
@@ -72,11 +72,11 @@ div.compact{
padding: 0.05em 0;
}
.gradio-dropdown ul.options li.item.selected {
.gradio-dropdown ul.options li.item:not(:has(.hide)) {
background-color: var(--neutral-100);
}
.dark .gradio-dropdown ul.options li.item.selected {
.dark .gradio-dropdown ul.options li.item:not(:has(.hide)) {
background-color: var(--neutral-900);
}