Merge pull request #12880 from AUTOMATIC1111/dropdown-padding-mobile

Use default dropdown padding on mobile
This commit is contained in:
AUTOMATIC1111 2023-09-09 09:29:42 +03:00 committed by GitHub
commit 4ebed495ed
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);