Update style.css to fix safari

pull/185/head
Alex Chan 2023-05-28 07:42:55 -06:00 committed by GitHub
parent c61fae964a
commit b85abbdab6
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;
}