Skip to content

Commit 9dd7691

Browse files
authored
Update Board.css
1 parent 0e13b57 commit 9dd7691

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Board/Board.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
align-items: center;
1919
flex-basis: calc(100% / 15);
2020

21-
@media (min-aspect-ratio: 1) { /* landscape layout (tablet / computer) */
21+
@media (orientation: landscape) { /* landscape layout (tablet / computer) */
2222
max-width: calc(100% / 15);
2323
}
2424

25-
@media (max-aspect-ratio: 1) { /* portrait layout (mobile) */
25+
@media (orientation: portrait) { /* portrait layout (mobile) */
2626
max-height: calc(100% / 15);
2727
}
2828
}
@@ -86,7 +86,7 @@ order:
8686
order: 8;
8787
}
8888

89-
@media (min-aspect-ratio: 1) {/* landscape layout (tablet / computer) */
89+
@media (orientation: landscape) {/* landscape layout (tablet / computer) */
9090
.home {
9191
height: 50%;
9292
}
@@ -165,7 +165,7 @@ order:
165165
}
166166
}
167167

168-
@media (max-aspect-ratio: 1) {/* Portrait layout (mobile phone) */
168+
@media (orientation: portrait) {/* Portrait layout (mobile phone) */
169169
#board {
170170
flex-direction: column;
171171
flex-wrap: wrap-reverse;
@@ -250,4 +250,4 @@ order:
250250
}
251251
}
252252
}
253-
}
253+
}

0 commit comments

Comments
 (0)