From 42b72fe2463bc06a97935bc7a7770a9d562269d8 Mon Sep 17 00:00:00 2001 From: AUTOMATIC1111 <16777216c@gmail.com> Date: Sun, 20 Aug 2023 14:57:40 +0300 Subject: [PATCH] fix for small images in live previews not being scaled up --- style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/style.css b/style.css index 5cd9f9c21ec..46125864c6a 100644 --- a/style.css +++ b/style.css @@ -282,8 +282,8 @@ div.block.gradio-accordion { } } -#txt2img_gallery img, #img2img_gallery img, #extras_gallery img{ - object-fit: scale-down; +.gradio-gallery .thumbnails img { + object-fit: scale-down !important; } #txt2img_actions_column, #img2img_actions_column { gap: 0.5em;