diff options
Diffstat (limited to 'tpl/objects')
-rw-r--r-- | tpl/objects/table.pug | 17 |
1 files changed, 12 insertions, 5 deletions
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 @@ | |||
1 | mixin table | 1 | mixin table |
2 | - | 2 | - |
3 | let classes = { | 3 | let classes = { |
4 | 'o-table': true, | 4 | 'o-table': true, |
5 | 'o-table--flush': attributes.flush, | 5 | 'o-table--flush': attributes.flush, |
6 | 'o-table--box': attributes.box, | 6 | 'o-table--box': attributes.box, |
7 | 'o-table--50': attributes.size50, | 7 | 'o-table--interactive': attributes.interactive, |
8 | 'o-table--50': attributes.size50, | ||
8 | } | 9 | } |
9 | 10 | ||
10 | table(class=classes) | 11 | table(class=classes) |
@@ -27,5 +28,11 @@ mixin table-row | |||
27 | block | 28 | block |
28 | 29 | ||
29 | mixin table-cell | 30 | mixin table-cell |
30 | td.o-table__cell | 31 | - |
32 | let classes = { | ||
33 | 'o-table__cell': true, | ||
34 | 'o-table__cell--divider': attributes.divider, | ||
35 | } | ||
36 | |||
37 | td(class=classes) | ||
31 | block | 38 | block |