From b85abbdab6f576e1703c920681022ad55c0e7ad2 Mon Sep 17 00:00:00 2001 From: Alex Chan Date: Sun, 28 May 2023 07:42:55 -0600 Subject: [PATCH] Update style.css to fix safari --- style.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/style.css b/style.css index 6541601..cc5da2d 100644 --- a/style.css +++ b/style.css @@ -13,3 +13,11 @@ div[id^="image_browser_tab"][id$="image_browser_gallery"].hide_loading > .svelte .image_browser_gallery img { object-fit: scale-down !important; } + +/* Workaround until gradio version is updated to a version that fixes it + see https://github.com/gradio-app/gradio/issues/1590 +*/ +.thumbnail-item > img { + width: auto !important; + height: auto !important; +}