bellroy / lesswrong

Less Wrong platform
http://lesswrong.org/
Other
49 stars 23 forks source link

Fix padding for vote icons. #598

Closed brendanlong closed 7 years ago

brendanlong commented 7 years ago

This makes votes have correct spacing around their numbers:

screenshot from 2016-12-05 16-43-03

brendanlong commented 7 years ago

Huh the padding actually looks fine on my tablet. I'll have to check this more..

jack-trikeapps commented 7 years ago

Hi Brendan, what's the state of this? Do you want me to consider merging it now or should I wait for you to finish your investigations?

brendanlong commented 7 years ago

I can confirm that on a MacBook pro, making this change makes things look worse. I wonder if it's a retina / non-retina weirdness. I'll try to track down the difference at some point :\

brendanlong commented 7 years ago

Ahh I think the problem is on devices that have the Arial font. OS X and Android both don't have it, so it falls back to Helvetica or a generic "sans serif", but on Linux it actually tries to use something similar to Arial. I'll have to try a fix for this next time I have my mac with me.