zotero / zoterobib

ZoteroBib is a free online bibliography generator from the makers of Zotero
https://zbib.org
Other
68 stars 19 forks source link

Adjust spacing around buttons in notifications at some widths #216

Closed dstillman closed 6 years ago

dstillman commented 6 years ago

At certain widths, when the button wraps to the next line, it looks a little cramped:

button

(I think I've seen some similar issues on an iPad, but I don't have examples handy.)

flachware commented 6 years ago

@dstillman we can use less high buttons and increase the line-height slightly.

before: screen shot 2018-05-09 at 14 01 30 after: screen shot 2018-05-09 at 14 01 16

dstillman commented 6 years ago

That could work. Or we could just use a media query and adjust spacing above a certain width, at least for my example.

flachware commented 6 years ago

I would like to find a generic solution that works with all (and future) texts we have, we can never know when the button floats into the second line. That’s why I would go with button height + line-height.

dstillman commented 6 years ago

Sure.