diff options
Diffstat (limited to 'tpl/objects')
-rw-r--r-- | tpl/objects/badge.pug | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tpl/objects/badge.pug b/tpl/objects/badge.pug index 441eb51..53e972c 100644 --- a/tpl/objects/badge.pug +++ b/tpl/objects/badge.pug | |||
@@ -2,7 +2,8 @@ mixin badge(variant) | |||
2 | - | 2 | - |
3 | let classes = { | 3 | let classes = { |
4 | 'o-badge': true, | 4 | 'o-badge': true, |
5 | 'o-menu__badge': !!attributes.menu | 5 | 'o-badge--pill': !!attributes.pill, |
6 | 'o-menu__badge': !!attributes.menu, | ||
6 | } | 7 | } |
7 | if (attributes.size) { | 8 | if (attributes.size) { |
8 | classes['o-badge--' + attributes.size] = true | 9 | classes['o-badge--' + attributes.size] = true |