Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client - mobile - Axis label font is scaled on small screens #5512

Merged
merged 1 commit into from
Feb 16, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
client - mobile - Axis label font is scaled on small screens
On phones or other small screens, the axis labels (especially x axis)
were previously an unreadable jumble of too-close letters
  • Loading branch information
stephencmorton committed Feb 11, 2020
commit adac64262f03fec6a96cc31c9b9a7f0276c0ae10
9 changes: 9 additions & 0 deletions static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,11 @@ a, a:visited, a:link {
}

@media (max-width: 750px) {
.x.axis {
font-size: 2.5vmin !important;
}


.bgStatus {
width: 50%;
padding: 0 0 20px 0;
Expand Down Expand Up @@ -657,6 +662,10 @@ a, a:visited, a:link {
#chartContainer {
font-size: 14px;
}
.y.axis {
font-size: 2.5vmin !important;
}

}

@media (max-height: 600px) {
Expand Down