fix(timeline): vertical labels on small viewports (#70)

This commit is contained in:
Felix Spöttel
2023-02-01 00:56:07 +01:00
committed by GitHub
parent 7f15e28121
commit 9b56764376

View File

@@ -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);
}
}
}