diff options
author | Volpeon <git@volpeon.ink> | 2023-02-12 20:48:13 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2023-02-12 20:48:13 +0100 |
commit | 894aee1a5ca3f01292f6db7da9a903fdb2235065 (patch) | |
tree | 39caa2c8160b1a526034c808aa6bdbca4c147432 /tpl/objects | |
parent | Fix again (diff) | |
download | iro-design-894aee1a5ca3f01292f6db7da9a903fdb2235065.tar.gz iro-design-894aee1a5ca3f01292f6db7da9a903fdb2235065.tar.bz2 iro-design-894aee1a5ca3f01292f6db7da9a903fdb2235065.zip |
Update
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 | } |