Skip to content

Commit f6ea7c4

Browse files
committed
update: update default preload and hero default height
1 parent 542fc1f commit f6ea7c4

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/assets/scss/modules/component/_hero.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,14 @@
66
justify-content: center;
77
flex-direction: column;
88
background-color: var(--clr-background);
9+
height: 80dvh;
910
z-index: 3;
1011
position: relative;
1112

13+
@include breakpoint-down('medium') {
14+
height: 100%;
15+
}
16+
1217
&-decoration {
1318
--width: 95vmin;
1419
--increase: 1.2;
@@ -57,6 +62,7 @@
5762
z-index: -1;
5863
position: absolute;
5964
bottom: 0;
65+
margin-bottom: -.625rem;
6066
left: 0;
6167
width: 100%;
6268
overflow: hidden;

src/assets/scss/modules/component/_preload.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
left: 0;
99
right: 0;
1010
bottom: 0;
11+
height: 100dvh;
1112
z-index: 999;
1213
flex-direction: column;
1314
translate: 0 0;

0 commit comments

Comments
 (0)