From 3e2b42ee926aafcdf1d77e63b0f86565f4ec51b2 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 5 Jul 2024 07:21:31 +0200 Subject: Update button --- tpl/objects/button.pug | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tpl/objects/button.pug') 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 if attributes.icon +icon(attributes.icon) = ' ' - block + if block + span.o-button__label + block + if attributes.postIcon + = ' ' + +icon(attributes.postIcon) -- cgit v1.2.3-54-g00ecf