Merge pull request #185 from alexanderchan/patch-1

Update style.css to fix safari devices to workaround gradio issue
pull/190/head
AlUlkesh 2023-05-29 00:38:28 +01:00 committed by GitHub
commit 75af6d0c32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -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;
}