Skip to content

Commit

Permalink
reformat css from latest commits, change color for dropdown selection…
Browse files Browse the repository at this point in the history
… to more neutral one
  • Loading branch information
AUTOMATIC1111 committed Mar 27, 2023
1 parent 8a454da commit b40538a
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,31 +54,30 @@ div.compact{
gap: 1em;
}

.gradio-dropdown ul.options{
z-index: 3000;
min-width: fit-content;
max-width: inherit;
white-space: nowrap;
}

.gradio-dropdown label span:not(.has-info),
.gradio-textbox label span:not(.has-info),
.gradio-number label span:not(.has-info)
{
margin-bottom: 0;
}

.gradio-dropdown ul.options {
max-height: 35em;
z-index: 3000;
.gradio-dropdown ul.options{
z-index: 3000;
min-width: fit-content;
max-width: inherit;
white-space: nowrap;
}

.gradio-dropdown ul.options li.item {
padding: 0.05em 0;
padding: 0.05em 0;
}

.gradio-dropdown ul.options li.item.selected {
background-color: var(--secondary-500);
background-color: var(--neutral-100);
}

.dark .gradio-dropdown ul.options li.item.selected {
background-color: var(--neutral-900);
}

.gradio-dropdown div.wrap.wrap.wrap.wrap{
Expand Down

0 comments on commit b40538a

Please sign in to comment.