We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 953ec3c commit b81603fCopy full SHA for b81603f
src/Button.vue
@@ -107,6 +107,9 @@ export default {
107
width: {
108
type: Number,
109
default: constants.width
110
+ },
111
+ fontSize: {
112
+ type: Number
113
}
114
},
115
computed: {
@@ -149,7 +152,8 @@ export default {
149
152
150
153
labelStyle () {
151
154
return {
- lineHeight: px(this.height)
155
+ lineHeight: px(this.height),
156
+ fontSize: this.fontSize ? px(this.fontSize) : null
157
158
159
0 commit comments