diff options
Diffstat (limited to 'tpl/objects')
-rw-r--r-- | tpl/objects/overflow-button.pug | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tpl/objects/overflow-button.pug b/tpl/objects/overflow-button.pug index f52f12b..301c6b3 100644 --- a/tpl/objects/overflow-button.pug +++ b/tpl/objects/overflow-button.pug | |||
@@ -7,6 +7,9 @@ mixin overflow-button | |||
7 | 'u-d-block': attributes.block, | 7 | 'u-d-block': attributes.block, |
8 | 'is-selected': attributes.selected | 8 | 'is-selected': attributes.selected |
9 | } | 9 | } |
10 | if (attributes.variant) { | ||
11 | classes['o-overflow-button--' + attributes.variant] = true | ||
12 | } | ||
10 | if (attributes.class) { | 13 | if (attributes.class) { |
11 | classes[attributes.class] = true; | 14 | classes[attributes.class] = true; |
12 | } | 15 | } |