Skip to content

Commit

Permalink
Merge pull request #4 from jasoncalabrese/wip/bgDelta
Browse files Browse the repository at this point in the history
adjust chart font sizes in the chart, for better landscape display
  • Loading branch information
jimsiff committed Nov 17, 2014
2 parents 0fc2317 + 66fe669 commit 91bf342
Showing 1 changed file with 9 additions and 17 deletions.
26 changes: 9 additions & 17 deletions static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -237,17 +237,13 @@ div.tooltip {
}
}

@media (max-width: 768px) {
#chartContainer {
font-size: 150%;
}
.bgStatus {
width: 50%;
}
}

@media (max-width: 800px) {
#chartContainer {
font-size: 115%;
}

.bgStatus {
width: 50%;
font-size: 600%;
}

Expand Down Expand Up @@ -289,6 +285,7 @@ div.tooltip {

#chartContainer {
top: 165px;
font-size: 80%;
}
#chartContainer svg {
height: calc(100vh - 165px);
Expand Down Expand Up @@ -359,15 +356,10 @@ div.tooltip {
}

#chartContainer {
top: calc(152px + 45px);
font-size: 110%;
top: 210px;
}
#chartContainer svg {
height: calc(100vh - (152px + 45px));
height: calc(100vh - (210px));
}
}

@media (max-width: 480px) {
#chartContainer {
font-size: 150%;
}
}

0 comments on commit 91bf342

Please sign in to comment.