We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 462530f commit 940043dCopy full SHA for 940043d
src/plugins/resize.js
@@ -1,13 +1,13 @@
1
-export default function({ variants }) {
2
- return function({ addUtilities }) {
+export default function() {
+ return function({ addUtilities, config }) {
3
addUtilities(
4
{
5
'.resize-none': { resize: 'none' },
6
'.resize-y': { resize: 'vertical' },
7
'.resize-x': { resize: 'horizontal' },
8
'.resize': { resize: 'both' },
9
},
10
- variants
+ config('variants.resize')
11
)
12
}
13
0 commit comments