urbit / talk

Urbit notifications and chat module
10 stars 7 forks source link

input line descends at exactly 10 characters #27

Closed juped closed 8 years ago

juped commented 8 years ago

Safari 9.1.1, OS X 10.11.5

89c5vos1wg

galenwp commented 8 years ago

This is super weird, and Safari-specific. But I did just confirm it to be real.

Fang- commented 8 years ago

Looks like an auto-width issue.

Safari's inspector says the auto-width is calculated as 67.5 px. Apparently it doesn't round this up, because manually setting the width to 68 px displays fine.
(It's extra strange because I'm on a high-dpi display and Safari should know how to work with half pixels in that case, right?)

Possible solution here would be just hard-coding the width of that element to 96 px which accommodates four digits. Not sure if such a "hack" is desirable though.

galenwp commented 8 years ago

Actually, setting it's width probably is the right thing to do here. Call it 120px.