Skip to content

Commit 3494cf5

Browse files
committed
Source overflow options from config
1 parent f323a54 commit 3494cf5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/plugins/overflow.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
export default function({ variants }) {
2-
return function({ addUtilities }) {
1+
export default function() {
2+
return function({ addUtilities, config }) {
33
addUtilities(
44
{
55
'.overflow-auto': { overflow: 'auto' },
@@ -17,7 +17,7 @@ export default function({ variants }) {
1717
'.scrolling-touch': { '-webkit-overflow-scrolling': 'touch' },
1818
'.scrolling-auto': { '-webkit-overflow-scrolling': 'auto' },
1919
},
20-
variants
20+
config('variants.overflow')
2121
)
2222
}
2323
}

0 commit comments

Comments
 (0)