diff options
author | Volpeon <git@volpeon.ink> | 2024-07-05 07:21:31 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2024-07-05 07:21:31 +0200 |
commit | 3e2b42ee926aafcdf1d77e63b0f86565f4ec51b2 (patch) | |
tree | c1f7ae78734280e5ae5740ce948f961f1cf08ce5 /tpl/objects/button.pug | |
parent | Better badge (diff) | |
download | iro-design-3e2b42ee926aafcdf1d77e63b0f86565f4ec51b2.tar.gz iro-design-3e2b42ee926aafcdf1d77e63b0f86565f4ec51b2.tar.bz2 iro-design-3e2b42ee926aafcdf1d77e63b0f86565f4ec51b2.zip |
Update button
Diffstat (limited to 'tpl/objects/button.pug')
-rw-r--r-- | tpl/objects/button.pug | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tpl/objects/button.pug b/tpl/objects/button.pug index 1fa3347..0884c8d 100644 --- a/tpl/objects/button.pug +++ b/tpl/objects/button.pug | |||
@@ -20,4 +20,9 @@ mixin a-button | |||
20 | if attributes.icon | 20 | if attributes.icon |
21 | +icon(attributes.icon) | 21 | +icon(attributes.icon) |
22 | = ' ' | 22 | = ' ' |
23 | block | 23 | if block |
24 | span.o-button__label | ||
25 | block | ||
26 | if attributes.postIcon | ||
27 | = ' ' | ||
28 | +icon(attributes.postIcon) | ||