From dacf3684105df492503163bb27d080d738c3160b Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 13 Mar 2022 10:10:47 +0100 Subject: More table options --- tpl/objects/table.pug | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'tpl/objects') diff --git a/tpl/objects/table.pug b/tpl/objects/table.pug index b7ec881..e635589 100644 --- a/tpl/objects/table.pug +++ b/tpl/objects/table.pug @@ -1,10 +1,11 @@ mixin table - let classes = { - 'o-table': true, - 'o-table--flush': attributes.flush, - 'o-table--box': attributes.box, - 'o-table--50': attributes.size50, + 'o-table': true, + 'o-table--flush': attributes.flush, + 'o-table--box': attributes.box, + 'o-table--interactive': attributes.interactive, + 'o-table--50': attributes.size50, } table(class=classes) @@ -27,5 +28,11 @@ mixin table-row block mixin table-cell - td.o-table__cell + - + let classes = { + 'o-table__cell': true, + 'o-table__cell--divider': attributes.divider, + } + + td(class=classes) block -- cgit v1.2.3-54-g00ecf