summaryrefslogtreecommitdiffstats
path: root/tpl/objects
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2023-10-30 17:01:45 +0100
committerVolpeon <git@volpeon.ink>2023-10-30 17:01:45 +0100
commit36750a6a4a05a28980d46cf895faf50ef35fb5dc (patch)
tree97dcc344c944884cdb0304c0067da43f61d4cba4 /tpl/objects
parentFixed badge line height (diff)
downloadiro-design-36750a6a4a05a28980d46cf895faf50ef35fb5dc.tar.gz
iro-design-36750a6a4a05a28980d46cf895faf50ef35fb5dc.tar.bz2
iro-design-36750a6a4a05a28980d46cf895faf50ef35fb5dc.zip
Fix badge + action button combo
Diffstat (limited to 'tpl/objects')
-rw-r--r--tpl/objects/badge.pug8
1 files changed, 6 insertions, 2 deletions
diff --git a/tpl/objects/badge.pug b/tpl/objects/badge.pug
index 53e972c..04fd8eb 100644
--- a/tpl/objects/badge.pug
+++ b/tpl/objects/badge.pug
@@ -12,5 +12,9 @@ mixin badge(variant)
12 classes['o-badge--' + variant] = true 12 classes['o-badge--' + variant] = true
13 } 13 }
14 14
15 a(href="#", class=classes) 15 if attributes.href
16 block 16 a(href=attributes.href class=classes)
17 block
18 else
19 span(class=classes)
20 block