diff options
Diffstat (limited to 'tpl/objects')
-rw-r--r-- | tpl/objects/action-button.pug | 2 | ||||
-rw-r--r-- | tpl/objects/icon.pug | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tpl/objects/action-button.pug b/tpl/objects/action-button.pug index e11e4a5..c0d7582 100644 --- a/tpl/objects/action-button.pug +++ b/tpl/objects/action-button.pug | |||
@@ -17,6 +17,6 @@ mixin action-button | |||
17 | 17 | ||
18 | a(class=classes href=href) | 18 | a(class=classes href=href) |
19 | if attributes.icon | 19 | if attributes.icon |
20 | +icon(attributes.icon)(block=!block) | 20 | +icon(attributes.icon) |
21 | = ' ' | 21 | = ' ' |
22 | block | 22 | block |
diff --git a/tpl/objects/icon.pug b/tpl/objects/icon.pug index 98d51ad..80273b0 100644 --- a/tpl/objects/icon.pug +++ b/tpl/objects/icon.pug | |||
@@ -9,5 +9,5 @@ mixin icon(id) | |||
9 | classes[attributes.class] = true; | 9 | classes[attributes.class] = true; |
10 | } | 10 | } |
11 | 11 | ||
12 | svg(class=classes) | 12 | svg(class=classes width="1.142857143em" height="1.142857143em" aria-hidden="true") |
13 | use(href=href) | 13 | use(href=href) |