aboutsummaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2023-03-21 06:49:19 +0300
committerAUTOMATIC <16777216c@gmail.com>2023-03-21 06:49:19 +0300
commit46482decd5ec7c15811e1db5f992b0f616472cfe (patch)
tree71abb7ac1b22bc87016de586543137a4c06a2239 /style.css
parent8ea8e712c43e493a9c96dcec7dfbc036a8630c97 (diff)
fix ctrl+up/down attention edit
fix dropdown obscured by live preview stylistic changes
Diffstat (limited to 'style.css')
-rw-r--r--style.css12
1 files changed, 11 insertions, 1 deletions
diff --git a/style.css b/style.css
index 936930fd..692833bd 100644
--- a/style.css
+++ b/style.css
@@ -1,9 +1,10 @@
/* general gradio fixes */
-:root{
+:root, .dark{
--checkbox-label-gap: 0.25em 0.1em;
--section-header-text-size: 12pt;
+ --block-background-fill: transparent;
}
.block.padded{
@@ -54,6 +55,7 @@ div.compact{
.gradio-dropdown ul.options{
max-height: 35em;
+ z-index: 3000;
}
.gradio-dropdown label span:not(.has-info){
@@ -72,6 +74,13 @@ div.compact{
margin: 0.75em 1.5em 0 0;
}
+.gradio-html div.wrap{
+ height: 100%;
+}
+div.gradio-html.min{
+ min-height: 0;
+}
+
/* general styled components */
.gradio-button.tool{
@@ -103,6 +112,7 @@ div.compact{
min-width: 0 !important;
width: auto;
z-index: 100;
+ top: -0.75em;
}
.block.token-counter span{