pull down to refresh
It's not bad, but determining when to flip is nontrivial
reply
Three ways to go:
- always rotate;
- Trigger it only when there’s more than X outputs;
- Run it when the text overflows the top bar—that’s the best call, but it’s complex (It is necessary to calculate the length of the string.);
- Always keep it at 45 degrees;
reply
Thanks. I'll try to remember this next time I'm in that code.
reply
text-anchor="end"
rotate(-90)