Skip to content

Commit

Permalink
Use max-width over max-device-width (#3132)
Browse files Browse the repository at this point in the history
Using max-width because this applies the mobile styles to narrow windows
on larger devices as well as full with windows on narrow devices.
  • Loading branch information
jonheslop authored and ry committed Oct 15, 2019
1 parent 54db12c commit b1685ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ header h1 {
margin: 8px 0;
}

@media only screen and (max-device-width: 480px) {
@media only screen and (max-width: 480px) {
body {
margin: 0;
}
Expand Down

0 comments on commit b1685ce

Please sign in to comment.