From 4b16b704d196ecb1605e7cfe7ccc83bb21e76b6e Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 12 Mar 2022 15:47:42 +0100 Subject: Added table variants --- tpl/objects/table.pug | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'tpl/objects/table.pug') diff --git a/tpl/objects/table.pug b/tpl/objects/table.pug index 9fb2a06..0e1632d 100644 --- a/tpl/objects/table.pug +++ b/tpl/objects/table.pug @@ -1,5 +1,12 @@ mixin table - table.o-table + - + let classes = { + 'o-table': true, + 'o-table--flush': attributes.flush, + 'o-table--box': attributes.box, + } + + table(class=classes) block mixin table-head -- cgit v1.2.3-54-g00ecf