use dvh for viewport
This commit is contained in:
parent
5a17a47514
commit
a07b1aa835
1 changed files with 2 additions and 2 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue