mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Source tableLayout options from config
This commit is contained in:
parent
1db5983058
commit
ecfdf48aef
@ -1,11 +1,11 @@
|
||||
export default function({ variants }) {
|
||||
return function({ addUtilities }) {
|
||||
export default function() {
|
||||
return function({ addUtilities, config }) {
|
||||
addUtilities(
|
||||
{
|
||||
'.table-auto': { 'table-layout': 'auto' },
|
||||
'.table-fixed': { 'table-layout': 'fixed' },
|
||||
},
|
||||
variants
|
||||
config('variants.tableLayout')
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user