Skip to content

Commit

Permalink
CSS Fix: time + glucose collision
Browse files Browse the repository at this point in the history
I got tired of seeing them collide and knock the glucose number down to
a new line. So I added two additional @media sizing steps at 815px and
510px to adjust the font size.

This should eliminate the wrapping on the Android user’s home screen
widgets.
  • Loading branch information
brianhanifin committed Jul 22, 2014
1 parent c239b0b commit 071b208
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ body {
fill-opacity: 0;
}

@media (max-width: 815px) {
body {
font-size: 80%;
}
}

@media (max-width: 768px) {
body {
font-size: 60%;
Expand All @@ -77,6 +83,12 @@ body {
}
}

@media (max-width: 510px) {
body {
font-size: 50%;
}
}

@media (max-width: 480px) {
body {
font-size: 40%;
Expand Down

0 comments on commit 071b208

Please sign in to comment.