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
234 sats \ 1 reply \ @0xbitcoiner 13h

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
21 sats \ 0 replies \ @k00b OP 13h

Thanks. I'll try to remember this next time I'm in that code.

reply