Define vh CSS variable from viewport height
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
:global(.photo-page) {
|
||||
position: relative;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
height: var(--vh);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
overflow: hidden;
|
||||
|
||||
Reference in New Issue
Block a user