fixed Gradio 3.23.0 dropdown component cutoff #90

This commit is contained in:
anapnoe
2023-04-26 23:49:24 +03:00
parent 4b78b6569b
commit b00fc0aefa
3 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -672,7 +672,7 @@ onUiUpdate(function(){
//maybe here we need to setInterval until the content is available
setTimeout(function(){
accordion_content = accordion_btn.parentElement;
console.log(accordion_content);
//console.log(accordion_content);
attachAccordionListeners(accordion_content);
},1000)
}
+1 -1
View File
@@ -153,7 +153,7 @@ def img2img(id_task: str, mode: int, prompt: str, negative_prompt: str, prompt_s
override_settings=override_settings,
)
p.scripts = modules.scripts.scripts_txt2img
p.scripts = modules.scripts.scripts_img2img
p.script_args = args
if shared.cmd_opts.enable_console_prompts:
+8
View File
@@ -900,6 +900,7 @@ ul.options{
border-width: var(--ae-border-width);
max-height:25vh !important;
padding:1px;
z-index:9999;
}
@@ -1333,6 +1334,13 @@ input.svelte-56zyyb{
background: var(--ae-frame-bg-color);
}
.compact.svelte-15lo0d8 {
border-radius: var(--ae-panel-border-radius);
background: var(--ae-panel-border-color);
padding: 0;
gap: 1px !important;
}
[id$="-collapse"],
[id$="-collapse-one"] > div
{