File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ import objectPosition from './plugins/objectPosition'
4646import opacity from './plugins/opacity'
4747import outline from './plugins/outline'
4848import overflow from './plugins/overflow'
49+ import overscroll from './plugins/overscroll'
4950import padding from './plugins/padding'
5051import placeholderColor from './plugins/placeholderColor'
5152import pointerEvents from './plugins/pointerEvents'
@@ -154,6 +155,7 @@ export default function({ corePlugins: corePluginConfig }) {
154155 opacity,
155156 outline,
156157 overflow,
158+ overscroll,
157159 padding,
158160 placeholderColor,
159161 placeholderOpacity,
Original file line number Diff line number Diff line change 1+ export default function ( ) {
2+ return function ( { addUtilities, variants } ) {
3+ addUtilities (
4+ {
5+ '.overscroll-auto' : { 'overscroll-behavior' : 'auto' } ,
6+ '.overscroll-contain' : { 'overscroll-behavior' : 'contain' } ,
7+ '.overscroll-none' : { 'overscroll-behavior' : 'none' } ,
8+ '.overscroll-y-auto' : { 'overscroll-behavior-y' : 'auto' } ,
9+ '.overscroll-y-contain' : { 'overscroll-behavior-y' : 'contain' } ,
10+ '.overscroll-y-none' : { 'overscroll-behavior-y' : 'none' } ,
11+ '.overscroll-x-auto' : { 'overscroll-behavior-x' : 'auto' } ,
12+ '.overscroll-x-contain' : { 'overscroll-behavior-x' : 'contain' } ,
13+ '.overscroll-x-none' : { 'overscroll-behavior-x' : 'none' } ,
14+ } ,
15+ variants ( 'overscroll' )
16+ )
17+ }
18+ }
You can’t perform that action at this time.
0 commit comments