Port resize module to plugin
This commit is contained in:
parent
6a3ed59fa6
commit
e7bf2bc615
4 changed files with 12 additions and 12 deletions
10
src/plugins/resize.js
Normal file
10
src/plugins/resize.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
export default function () {
|
||||
return function ({ addUtilities, config }) {
|
||||
addUtilities({
|
||||
'.resize-none': { resize: 'none' },
|
||||
'.resize-y': { resize: 'vertical' },
|
||||
'.resize-x': { resize: 'horizontal' },
|
||||
'.resize': { resize: 'both' },
|
||||
}, config('modules.resize'))
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue