From f89f01f9d854d0433a417d00a09032bfb77f5385 Mon Sep 17 00:00:00 2001 From: catboxanon <122327233+catboxanon@users.noreply.github.com> Date: Fri, 18 Aug 2023 04:18:22 -0400 Subject: [PATCH] Make results column sticky --- style.css | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/style.css b/style.css index d7f87f816..c9b184c25 100644 --- a/style.css +++ b/style.css @@ -137,8 +137,8 @@ a{ cursor: pointer; } -/* gradio 3.39 puts a lot of overflow: hidden all over the place for an unknown reqasaon. */ -.block.gradio-textbox, div.gradio-group, div.gradio-dropdown{ +/* gradio 3.39 puts a lot of overflow: hidden all over the place for an unknown reason. */ +div.gradio-container, .block.gradio-textbox, div.gradio-group, div.gradio-dropdown{ overflow: visible !important; } @@ -1034,3 +1034,10 @@ div.accordions > div.input-accordion.input-accordion-open{ flex-flow: column; } + +/* sticky right hand columns */ + +#img2img_results, #txt2img_results, #extras_results { + position: sticky; + top: 0.5em; +}