Skip to content

Commit d1de087

Browse files
authored
gallery scrollbar fix
1 parent 3aef469 commit d1de087

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

UI_tabs/gallery_tab.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1870,7 +1870,8 @@ def render_tab(self):
18701870
value="Start")
18711871
with gr.Row():
18721872
prepend_now_button = gr.Button(value="Prepend/Append Now", variant='primary')
1873-
gallery_comp = gr.Gallery(visible=False, elem_id="gallery_id", columns=3, object_fit="contain", interactive=True, height=1356)#"1356px")#, height="auto")#, height=1356)
1873+
gallery_comp = gr.Gallery(visible=False, elem_id="gallery_id", object_fit="contain", interactive=True, columns=3, height=1356,
1874+
elem_classes="custom-gallery")
18741875

18751876
self.refresh_aspect_btn = refresh_aspect_btn
18761877
self.download_folder_type = download_folder_type

0 commit comments

Comments
 (0)