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 4b5055b commit ab4436aCopy full SHA for ab4436a
admin/src/components/FloatButton/index.vue
@@ -6,7 +6,7 @@
6
@click="onBtnClicked"
7
>
8
<slot name="icon" />
9
- <p>{{ text }}</p>
+ <p :style="{'font-size': fontSize+'px'}">{{ text }}</p>
10
</div>
11
</template>
12
@@ -33,6 +33,10 @@ export default {
33
coefficientHeight: {
34
type: Number,
35
default: 0.8
36
+ },
37
+ fontSize: {
38
+ type: Number,
39
+ default: 12
40
}
41
},
42
data() {
@@ -134,7 +138,4 @@ export default {
134
138
margin-bottom: 3px;
135
139
136
140
137
- .ys-float-btn p {
- font-size: 7px;
- }
141
</style>
0 commit comments