diff options
author | Volpeon <git@volpeon.ink> | 2025-07-21 21:25:30 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2025-07-21 21:25:30 +0200 |
commit | 3b90048ff3592e2a5630a97f611106aa06be1cb6 (patch) | |
tree | 3d24739d690b3d411a3c504845d0c42d6849fc4f /tpl/objects | |
parent | Action button: add static mod (diff) | |
download | iro-design-3b90048ff3592e2a5630a97f611106aa06be1cb6.tar.gz iro-design-3b90048ff3592e2a5630a97f611106aa06be1cb6.tar.bz2 iro-design-3b90048ff3592e2a5630a97f611106aa06be1cb6.zip |
Improved card and card list
Diffstat (limited to 'tpl/objects')
-rw-r--r-- | tpl/objects/card.pug | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tpl/objects/card.pug b/tpl/objects/card.pug index e0f6a15..acb86eb 100644 --- a/tpl/objects/card.pug +++ b/tpl/objects/card.pug | |||
@@ -38,7 +38,13 @@ mixin card-image | |||
38 | block | 38 | block |
39 | 39 | ||
40 | mixin card-body | 40 | mixin card-body |
41 | .o-card__body(style=attributes.style) | 41 | - |
42 | let classes = { | ||
43 | 'o-card__body': true, | ||
44 | 'o-card__body--hidden': attributes.hidden, | ||
45 | } | ||
46 | |||
47 | div(class=classes)(style=attributes.style) | ||
42 | block | 48 | block |
43 | 49 | ||
44 | mixin card-title | 50 | mixin card-title |