fix(theme): decouple VPButton height from line-height

pull/5421/head
Lazizbek Ergashev 6 days ago committed by Lazizbek Ergashev
parent 7cc14b2402
commit 8fa0efd735
No known key found for this signature in database

@ -42,7 +42,9 @@ const component = computed(() => {
<style scoped> <style scoped>
.VPButton { .VPButton {
display: inline-block; display: inline-flex;
align-items: center;
justify-content: center;
border: 1px solid transparent; border: 1px solid transparent;
text-align: center; text-align: center;
font-weight: 600; font-weight: 600;
@ -56,16 +58,16 @@ const component = computed(() => {
} }
.VPButton.medium { .VPButton.medium {
height: 2.5rem;
border-radius: 1.25rem; border-radius: 1.25rem;
padding: 0 1.25rem; padding: 0 1.25rem;
line-height: 2.7142857;
font-size: 0.875rem; font-size: 0.875rem;
} }
.VPButton.big { .VPButton.big {
height: 3rem;
border-radius: 1.5rem; border-radius: 1.5rem;
padding: 0 1.5rem; padding: 0 1.5rem;
line-height: 2.875;
font-size: 1rem; font-size: 1rem;
} }

Loading…
Cancel
Save