Skip to content

Commit

Permalink
Merge pull request #12645 from catboxanon/css/sticky-column
Browse files Browse the repository at this point in the history
Make results column sticky
  • Loading branch information
AUTOMATIC1111 authored Aug 19, 2023
2 parents 5590be7 + f89f01f commit 99cd8de
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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;
}

0 comments on commit 99cd8de

Please sign in to comment.