mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
increase axis label size at small screen widths
This commit is contained in:
parent
ab8ffaf4f0
commit
43c6ec09bd
1 changed files with 12 additions and 9 deletions
|
@ -54,6 +54,18 @@ body {
|
||||||
|
|
||||||
text {
|
text {
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
|
font-size: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: 800px) {
|
||||||
|
.tick text {
|
||||||
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media only screen and (max-width: 600px) {
|
||||||
|
.tick text {
|
||||||
|
font-size: 15px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -99,15 +111,6 @@ body {
|
||||||
fill: $day-fg;
|
fill: $day-fg;
|
||||||
}
|
}
|
||||||
|
|
||||||
.axis-label {
|
|
||||||
text-anchor: middle;
|
|
||||||
font-size: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.y-axis-label {
|
|
||||||
writing-mode: vertical-lr;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hoverzone rect {
|
.hoverzone rect {
|
||||||
fill: none;
|
fill: none;
|
||||||
pointer-events: all;
|
pointer-events: all;
|
||||||
|
|
Loading…
Reference in a new issue