Tweak css workaround to apply only to image browser tab

Add id selector for image browser tab so the css rule doesn't crop thumbnails in other tabs (e.g. txt2img results pane)
pull/190/head
rocketgarden 2023-06-01 17:27:28 -07:00 committed by GitHub
parent ba9bcee144
commit 0be3528929
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ div[id^="image_browser_tab"][id$="image_browser_gallery"].hide_loading > .svelte
/* Workaround until gradio version is updated to a version that fixes it
see https://github.com/gradio-app/gradio/issues/1590
*/
.thumbnail-item > img {
#tab_image_browser .thumbnail-item > img {
width: auto !important;
height: auto !important;
}