diff options
author | Volpeon <git@volpeon.ink> | 2022-03-28 20:25:21 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-03-28 20:25:21 +0200 |
commit | 511a47c8964c43927563ee88b62b3f215bf9b7d1 (patch) | |
tree | 108bbc0139ede490a2038a2f6c96467f62666346 /tpl/layouts | |
parent | Improved bubble (diff) | |
download | iro-design-511a47c8964c43927563ee88b62b3f215bf9b7d1.tar.gz iro-design-511a47c8964c43927563ee88b62b3f215bf9b7d1.tar.bz2 iro-design-511a47c8964c43927563ee88b62b3f215bf9b7d1.zip |
Update
Diffstat (limited to 'tpl/layouts')
-rw-r--r-- | tpl/layouts/container.pug | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tpl/layouts/container.pug b/tpl/layouts/container.pug index c1affc4..0973b74 100644 --- a/tpl/layouts/container.pug +++ b/tpl/layouts/container.pug | |||
@@ -2,11 +2,8 @@ mixin container | |||
2 | - | 2 | - |
3 | let classes = { | 3 | let classes = { |
4 | 'l-container': true, | 4 | 'l-container': true, |
5 | 'l-container--pad-x': attributes.padX, | ||
6 | 'l-container--pad-y': attributes.padY, | ||
7 | 'l-container--narrow': attributes.narrow, | 5 | 'l-container--narrow': attributes.narrow, |
8 | 'l-container--sm-narrow': attributes.smNarrow, | 6 | 'l-container--narrow-50': attributes.narrow50, |
9 | 'l-container--in-page': attributes.inPage, | ||
10 | 'u-themed': !!attributes.theme | 7 | 'u-themed': !!attributes.theme |
11 | } | 8 | } |
12 | if (!!attributes.theme) { | 9 | if (!!attributes.theme) { |
@@ -17,5 +14,4 @@ mixin container | |||
17 | } | 14 | } |
18 | 15 | ||
19 | div(class=classes)&attributes(attributes) | 16 | div(class=classes)&attributes(attributes) |
20 | .l-container__inner | 17 | block |
21 | block | ||