From 144b7a2ea83507c98544d14ad9435cc5e51ac071 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 5 Feb 2022 12:26:35 +0100 Subject: Update --- tpl/layouts/container.pug | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'tpl/layouts') diff --git a/tpl/layouts/container.pug b/tpl/layouts/container.pug index 75e3b36..9dde2d6 100644 --- a/tpl/layouts/container.pug +++ b/tpl/layouts/container.pug @@ -1,13 +1,13 @@ mixin container - let classes = { - 'l-container': true, - 'l-container--padH': attributes.padH, - 'l-container--padV': attributes.padV, - 'l-container--narrow': attributes.narrow, - 'l-container--smNarrow': attributes.smNarrow, - 'l-container--inPage': attributes.inPage, - 'l-container--themed': !!attributes.theme + 'l-container': true, + 'l-container--pad-h': attributes.padH, + 'l-container--pad-v': attributes.padV, + 'l-container--narrow': attributes.narrow, + 'l-container--sm-narrow': attributes.smNarrow, + 'l-container--in-page': attributes.inPage, + 'l-container--themed': attributes.themed } if (!!attributes.theme) { classes['t-' + attributes.theme] = true -- cgit v1.2.3-70-g09d2