Skip to content

Commit 476bd1f

Browse files
committed
refactor: merge duplicate height rules in NewNavigation styles
- Combine identical height: 100vh rules for apple and material themes
1 parent 811f363 commit 476bd1f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/pages/prototypes/NewNavigation/NewNavigation.module.scss

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@
1010
:global(body.apple) & {
1111
padding-bottom: 80px;
1212
}
13-
}
1413

15-
:global(body.apple) & {
16-
height: 100vh !important;
14+
:global(body.material) & {
15+
padding-bottom: 88px;
16+
}
1717
}
1818

19+
:global(body.apple) &,
1920
:global(body.material) & {
20-
height: calc(-56px - env(safe-area-inset-bottom) + 100vh);
21+
height: 100vh;
2122
}
2223
}
2324

0 commit comments

Comments
 (0)