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

main
Lazizbek Ergashev 6 days ago committed by GitHub
parent 7cc14b2402
commit 7afe929937
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save