Skip to content

Commit ecfdf48

Browse files
committed
Source tableLayout options from config
1 parent 1db5983 commit ecfdf48

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/plugins/tableLayout.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
export default function({ variants }) {
2-
return function({ addUtilities }) {
1+
export default function() {
2+
return function({ addUtilities, config }) {
33
addUtilities(
44
{
55
'.table-auto': { 'table-layout': 'auto' },
66
'.table-fixed': { 'table-layout': 'fixed' },
77
},
8-
variants
8+
config('variants.tableLayout')
99
)
1010
}
1111
}

0 commit comments

Comments
 (0)