From a07b1aa83563b3c02e77e4f9cda54fad601e9e54 Mon Sep 17 00:00:00 2001 From: nicwands Date: Thu, 2 Jul 2026 12:22:16 -0400 Subject: [PATCH] use dvh for viewport --- src/components/MosaicViewport.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/MosaicViewport.vue b/src/components/MosaicViewport.vue index e617532..2b6e207 100644 --- a/src/components/MosaicViewport.vue +++ b/src/components/MosaicViewport.vue @@ -15,9 +15,9 @@ ]" :style="{ left: cell.x * 100 + 'vw', - top: cell.y * 100 + 'vh', + top: cell.y * 100 + 'dvh', width: cell.width * 100 + 'vw', - height: cell.height * 100 + 'vh', + height: cell.height * 100 + 'dvh', }" :to="{ name: 'mosaic-item',