Skip to content

Commit 55c4ab2

Browse files
committed
Fix cover image aspect ratio at different media
1 parent 902921c commit 55c4ab2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/pages/Home/index.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
align-items: center;
1111
background-position: center;
1212
background-repeat: no-repeat;
13-
background-size: 100vw 600px;
13+
background-size: cover;
1414
position: relative;
1515

1616
&:before {
@@ -47,7 +47,6 @@
4747
@media (min-width: 1000px) {
4848
.intro {
4949
min-height: 90vh;
50-
background-size: 100vw 90vh;
5150
}
5251
}
5352
}

0 commit comments

Comments
 (0)