From b3d15e0a176fe28dca866f43e68432dea79eb889 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 12 Nov 2024 15:48:28 +0100 Subject: Consistent button paddings --- tpl/objects/action-button.pug | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tpl/objects') diff --git a/tpl/objects/action-button.pug b/tpl/objects/action-button.pug index c3a9b53..e9b6fe3 100644 --- a/tpl/objects/action-button.pug +++ b/tpl/objects/action-button.pug @@ -26,4 +26,9 @@ mixin action-button if attributes.icon +icon(attributes.icon) = ' ' - block + if block + span.o-action-button__label + block + if attributes.postIcon + = ' ' + +icon(attributes.postIcon) -- cgit v1.2.3-70-g09d2