diff options
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/objects/action-button.pug | 2 | ||||
-rw-r--r-- | tpl/objects/icon.pug | 2 | ||||
-rw-r--r-- | tpl/views/lightbox.pug | 4 |
3 files changed, 4 insertions, 4 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) |
diff --git a/tpl/views/lightbox.pug b/tpl/views/lightbox.pug index c1e5054..8169a35 100644 --- a/tpl/views/lightbox.pug +++ b/tpl/views/lightbox.pug | |||
@@ -1,7 +1,7 @@ | |||
1 | mixin view-lightbox | 1 | mixin view-lightbox |
2 | +view('lightbox', 'Lightbox') | 2 | +view('lightbox', 'Lightbox') |
3 | .c-box | 3 | .c-box |
4 | +backdrop(class='t-dark') | 4 | +backdrop(class='t-media') |
5 | +lightbox(['avatar.png', 'ava_feralbot.png', 'volpeon_spooky.png']) | 5 | +lightbox(['avatar.png', 'ava_feralbot.png', 'volpeon_spooky.png']) |
6 | = "Let's try multiple links! " | 6 | = "Let's try multiple links! " |
7 | a(href="https://mk.vulpes.one/files/3023f361-124a-4c80-bb69-9535e47c2925") | 7 | a(href="https://mk.vulpes.one/files/3023f361-124a-4c80-bb69-9535e47c2925") |
@@ -14,7 +14,7 @@ mixin view-lightbox | |||
14 | = "https://mk.vulpes.one/files/081e0684-08dc-4a42-b810-b0ac63ec7d06" | 14 | = "https://mk.vulpes.one/files/081e0684-08dc-4a42-b810-b0ac63ec7d06" |
15 | 15 | ||
16 | .c-box | 16 | .c-box |
17 | +backdrop(class='t-dark') | 17 | +backdrop(class='t-media') |
18 | +lightbox(['avatar.png']) | 18 | +lightbox(['avatar.png']) |
19 | = "Let's try multiple links! " | 19 | = "Let's try multiple links! " |
20 | a(href="https://mk.vulpes.one/files/3023f361-124a-4c80-bb69-9535e47c2925") | 20 | a(href="https://mk.vulpes.one/files/3023f361-124a-4c80-bb69-9535e47c2925") |