From 4418444d157578c414a4c9f35ca1d2b08efa095d Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 18 Feb 2022 07:16:07 +0100 Subject: Improved lightbox nav buttons --- tpl/objects/icon.pug | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tpl/objects/icon.pug') diff --git a/tpl/objects/icon.pug b/tpl/objects/icon.pug index 494abf6..1ed6052 100644 --- a/tpl/objects/icon.pug +++ b/tpl/objects/icon.pug @@ -2,7 +2,8 @@ mixin icon(id) - let href = 'icons.svg#' + id let classes = { - 'o-icon': true + 'o-icon': true, + 'o-icon--block': attributes.block, } if (attributes.class) { classes[attributes.class] = true; -- cgit v1.2.3-54-g00ecf