Skip to content

Commit

Permalink
Standard smallest screen is 600px (#520)
Browse files Browse the repository at this point in the history
For devices that have a screen size so small they have to use the `max-width` property in CSS, the standard of a screen-size that has to be used here is `phones 600px and smaller`, not `900px`, which would have to use the `min-width` property instead, that would mean a widescreen size, because `min-width` means `a screen size of 900px, or more`, including desktops.
  • Loading branch information
marek-lach authored and elegaanz committed Apr 8, 2019
1 parent d7de09a commit de296b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion static/css/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ header {
}

// Only enable label animations on normal screens
@media screen and (min-width: 900px) {
@media screen and (min-width: 600px) {
header nav a {
i {
transition: all 0.2s ease;
Expand Down
2 changes: 1 addition & 1 deletion static/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ html {
@import 'forms';

/// Small screens
@media screen and (max-width: 900px) {
@media screen and (max-width: 600px) {
@keyframes menuOpening {
from {
transform: scaleX(0);
Expand Down

0 comments on commit de296b6

Please sign in to comment.