diff options
Diffstat (limited to 'tpl/objects/button.pug')
-rw-r--r-- | tpl/objects/button.pug | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/objects/button.pug b/tpl/objects/button.pug index b5fb8da..1fa3347 100644 --- a/tpl/objects/button.pug +++ b/tpl/objects/button.pug | |||
@@ -5,7 +5,7 @@ mixin a-button | |||
5 | 'o-button--block': attributes.block, | 5 | 'o-button--block': attributes.block, |
6 | 'o-button--primary': attributes.primary, | 6 | 'o-button--primary': attributes.primary, |
7 | 'o-button--outline': attributes.outline, | 7 | 'o-button--outline': attributes.outline, |
8 | 'o-button--round': !!attributes.icon | 8 | 'o-button--round': !!attributes.icon && !block |
9 | } | 9 | } |
10 | if (attributes.variant) { | 10 | if (attributes.variant) { |
11 | classes['o-button--' + attributes.variant] = true | 11 | classes['o-button--' + attributes.variant] = true |