This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Button line-height is wrong #2
Labels
Comments
https://github.com/LaravelRUS/vue-ui/blob/master/src/components/Button.vue#L8-L9 Я добавлял это для того, чтобы на Linux и Windows текст был ровно по центру, на Mac OS походу не совсем так. Хз как тогда делать =\ |
@SerafimArts try |
@SerafimArts hm, maybe |
@vladshcherbin есть идеи как задетектить макось? |
@vladshcherbin тоже самое. Я же выделил строчки - это специально так сделано =) |
@SerafimArts try removing display: flex;
flex-direction: column;
justify-content: center;
align-items: center; Will it help? |
Fixes this issue! 👍 |
@SerafimArts unfortunately, |
lol? :D |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Button
line-height
> buttonheight
, this prevents text from being vertically centered. Button is 32px, line-height is 34px.The text was updated successfully, but these errors were encountered: