diff options
author | Volpeon <git@volpeon.ink> | 2022-02-17 16:32:46 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-02-17 16:32:46 +0100 |
commit | c349ec9b07bea4b414e282e69d704f6b6312a19e (patch) | |
tree | c270f94eecd6815a0793e43a9e9f16267230f93a /tpl/objects/backdrop.pug | |
parent | Fixed action menu border color (diff) | |
download | iro-design-c349ec9b07bea4b414e282e69d704f6b6312a19e.tar.gz iro-design-c349ec9b07bea4b414e282e69d704f6b6312a19e.tar.bz2 iro-design-c349ec9b07bea4b414e282e69d704f6b6312a19e.zip |
Improved lightbox
Diffstat (limited to 'tpl/objects/backdrop.pug')
-rw-r--r-- | tpl/objects/backdrop.pug | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tpl/objects/backdrop.pug b/tpl/objects/backdrop.pug index 3de1f99..cbe8866 100644 --- a/tpl/objects/backdrop.pug +++ b/tpl/objects/backdrop.pug | |||
@@ -1,9 +1,8 @@ | |||
1 | mixin backdrop | 1 | mixin backdrop |
2 | - | 2 | - |
3 | let classes = { | 3 | let classes = { |
4 | 'o-backdrop': true, | 4 | 'o-backdrop': true, |
5 | 'u-p-relative': true, | 5 | 'u-p-relative': true, |
6 | 'o-backdrop--center': attributes.center | ||
7 | } | 6 | } |
8 | if (attributes.class) { | 7 | if (attributes.class) { |
9 | classes[attributes.class] = true; | 8 | classes[attributes.class] = true; |