From 0ba5a9d7372d80c7f31ddf14d1805de64dc631c7 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 15 Feb 2022 12:17:16 +0100 Subject: Better indicator size handling --- tpl/objects/status-indicator.pug | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tpl/objects/status-indicator.pug') diff --git a/tpl/objects/status-indicator.pug b/tpl/objects/status-indicator.pug index 850348d..7ecb08a 100644 --- a/tpl/objects/status-indicator.pug +++ b/tpl/objects/status-indicator.pug @@ -1,9 +1,7 @@ mixin status-indicator(status) - - let size = attributes.size || 100; let classes = { - 'o-status-indicator': true, - ['o-status-indicator--' + size]: true, + 'o-status-indicator': true, } classes['is-' + status] = true if (attributes.class) { -- cgit v1.2.3-54-g00ecf