Use default dropdown padding on mobile

This commit is contained in:
missionfloyd 2023-08-30 23:07:18 -06:00 committed by GitHub
parent 5ef669de08
commit 76b1ad7daf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,9 +83,11 @@ div.compact{
white-space: nowrap; white-space: nowrap;
} }
@media (pointer:fine) {
.gradio-dropdown ul.options li.item { .gradio-dropdown ul.options li.item {
padding: 0.05em 0; padding: 0.05em 0;
} }
}
.gradio-dropdown ul.options li.item.selected { .gradio-dropdown ul.options li.item.selected {
background-color: var(--neutral-100); background-color: var(--neutral-100);