From e85746ba7e6b4deb46b6cfeae82c8391ced5d3b4 Mon Sep 17 00:00:00 2001 From: Sebin Nyshkim Date: Wed, 18 Jan 2023 15:47:18 +0100 Subject: [PATCH] fix: use absolute max-height for image --- src/components/RefImage.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/RefImage.vue b/src/components/RefImage.vue index 07cd677..901b7d6 100644 --- a/src/components/RefImage.vue +++ b/src/components/RefImage.vue @@ -45,7 +45,7 @@ defineProps(); img { display: block; max-width: 100%; - max-height: 100vh; + max-height: 35rem; margin: auto; } }