Skip to content
This repository was archived by the owner on Mar 17, 2021. It is now read-only.

Commit 1723f2f

Browse files
committed
Added class icon-only modifier
1 parent 8c65c63 commit 1723f2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/Button/main.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export default {
5252
`button--${this.appearance}`,
5353
`button--size-${this.size}`,
5454
{ 'button--loading': this.loading },
55+
{ 'button--icon-only': !this.$slots.default },
5556
{ 'button--icon-first': this.iconFirst },
5657
{ 'button--wide': this.wide },
5758
];

0 commit comments

Comments
 (0)