aboutsummaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-03-27 06:45:39 +0300
committerGitHub <noreply@github.com>2023-03-27 06:45:39 +0300
commit3b5a3fab91ff797b28239cda5b449aac1f85ad00 (patch)
treee96421f23966a87a021e1465a5f8799d92045cbc /style.css
parenta89af2325d2a213f3792888f706a64c9ba6dcd09 (diff)
parentd3b188c82d10e8af45357f258c1f65a04cfa4a18 (diff)
Merge pull request #8943 from space-nuko/fix-accordion-padding
Fix padding on accordion/dropdown list elements
Diffstat (limited to 'style.css')
-rw-r--r--style.css15
1 files changed, 14 insertions, 1 deletions
diff --git a/style.css b/style.css
index 0dcc3e25..c7087210 100644
--- a/style.css
+++ b/style.css
@@ -7,7 +7,7 @@
--block-background-fill: transparent;
}
-.block.padded{
+.block.padded:not(.gradio-accordion) {
padding: 0 !important;
}
@@ -65,6 +65,19 @@ div.compact{
margin-bottom: 0;
}
+.gradio-dropdown ul.options {
+ max-height: 35em;
+ z-index: 3000;
+}
+
+.gradio-dropdown ul.options li.item {
+ padding: 0.05em 0;
+}
+
+.gradio-dropdown ul.options li.item.selected {
+ background-color: var(--secondary-500);
+}
+
.gradio-dropdown div.wrap.wrap.wrap.wrap{
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}