Skip to content

Commit 62cbc04

Browse files
saraparsa13Sara.Parsaee
and
Sara.Parsaee
authored
fix: change dvh and dvw to vh and vw (old chrome support) (#211)
Co-authored-by: Sara.Parsaee <Sara.Parsaee@Tapsi.cab>
1 parent 7458537 commit 62cbc04

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bottom-sheet/bottom-sheet.style.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default css`
99
.bottom-sheet {
1010
position: absolute;
1111
bottom: 0;
12-
max-height: 90dvh;
12+
max-height: 90vh;
1313
display: flex;
1414
flex-direction: column;
1515
transition: 0.3s;
@@ -29,8 +29,8 @@ export default css`
2929
3030
.bottom-sheet-dimmer {
3131
position: fixed;
32-
width: 100dvw;
33-
height: 100dvh;
32+
width: 100vw;
33+
height: 100vh;
3434
bottom: 0;
3535
background-color: #33323b4b;
3636
animation: fade-in 0.3s ease-in-out;

0 commit comments

Comments
 (0)