Skip to content

Commit 1a7d736

Browse files
committed
Fix header display for portrait viewports
1 parent f931243 commit 1a7d736

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_sass/_header.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ header {
88
background-repeat: no-repeat;
99
background-size: auto;
1010
background-image: url("../img/header/header-960.jpg");
11-
@media (min-width: 961px) {
11+
@media (min-width: 961px), (min-height: 635px) {
1212
background-image: url("../img/header/header-1920.jpg");
1313
background-size: cover;
1414
background-position-y: -40px;
1515
}
16-
@media (min-width: 1921px) {
16+
@media (min-width: 1921px), (min-height: 1268px) {
1717
background-image: url("../img/header/header-3840.jpg");
1818
background-size: cover;
1919
background-position-y: -60px;

0 commit comments

Comments
 (0)