use dvh for viewport

This commit is contained in:
nicwands 2026-07-02 12:22:16 -04:00
parent 5a17a47514
commit a07b1aa835

View file

@ -15,9 +15,9 @@
]" ]"
:style="{ :style="{
left: cell.x * 100 + 'vw', left: cell.x * 100 + 'vw',
top: cell.y * 100 + 'vh', top: cell.y * 100 + 'dvh',
width: cell.width * 100 + 'vw', width: cell.width * 100 + 'vw',
height: cell.height * 100 + 'vh', height: cell.height * 100 + 'dvh',
}" }"
:to="{ :to="{
name: 'mosaic-item', name: 'mosaic-item',