pull down to refresh

i experimented with it and it's not as easy as saying it is

reply

text-anchor="end"
rotate(-90)

reply

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