From 6a9a2f0a9e4f956300532e583763b217cf0b5dc9 Mon Sep 17 00:00:00 2001 From: James Collins Date: Fri, 19 May 2023 14:17:18 +1000 Subject: [PATCH] firefox fix --- resources/js/components/SMImage.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/js/components/SMImage.vue b/resources/js/components/SMImage.vue index 1011283..807582e 100644 --- a/resources/js/components/SMImage.vue +++ b/resources/js/components/SMImage.vue @@ -33,6 +33,10 @@ const imgError = ref(false); display: flex; flex-basis: 300px; + /* Firefox */ + justify-content: center; + max-height: 300px; + img { max-height: 100%; max-width: 100%;