mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-08 03:18:36 +03:00
fix(timeline): vertical labels on small viewports (#70)
This commit is contained in:
@@ -179,6 +179,15 @@
|
||||
text {
|
||||
fill: $midwhite;
|
||||
text-transform: capitalize;
|
||||
|
||||
@media screen and (max-width: 960px) {
|
||||
writing-mode:vertical-lr;
|
||||
/*
|
||||
* Applies slightly different in Gecko and WebKit/Blink.
|
||||
* Optimized for WebKit as its more common on mobile viewports.
|
||||
*/
|
||||
transform: translateX(6px) translateY(6px);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user