File tree Expand file tree Collapse file tree 3 files changed +22
-0
lines changed
Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -775,6 +775,21 @@ export default {
775775
776776 cursor : createUtilityPlugin ( 'cursor' ) ,
777777
778+ touchAction : ( { addUtilities } ) => {
779+ addUtilities ( {
780+ '.touch-auto' : { 'touch-action' : 'auto' } ,
781+ '.touch-none' : { 'touch-action' : 'none' } ,
782+ '.touch-pan-x' : { 'touch-action' : 'pan-x' } ,
783+ '.touch-pan-left' : { 'touch-action' : 'pan-left' } ,
784+ '.touch-pan-right' : { 'touch-action' : 'pan-right' } ,
785+ '.touch-pan-y' : { 'touch-action' : 'pan-y' } ,
786+ '.touch-pan-up' : { 'touch-action' : 'pan-up' } ,
787+ '.touch-pan-down' : { 'touch-action' : 'pan-down' } ,
788+ '.touch-pinch-zoom' : { 'touch-action' : 'pinch-zoom' } ,
789+ '.touch-manipulation' : { 'touch-action' : 'manipulation' } ,
790+ } )
791+ } ,
792+
778793 userSelect : ( { addUtilities } ) => {
779794 addUtilities ( {
780795 '.select-none' : { 'user-select' : 'none' } ,
Original file line number Diff line number Diff line change 299299.cursor-pointer {
300300 cursor : pointer;
301301}
302+ .touch-pan-y {
303+ touch-action : pan-y;
304+ }
305+ .touch-manipulation {
306+ touch-action : manipulation;
307+ }
302308.select-none {
303309 user-select : none;
304310}
Original file line number Diff line number Diff line change 3939 < div class ="clear-left "> </ div >
4040 < div class ="container "> </ div >
4141 < div class ="cursor-pointer "> </ div >
42+ < div class ="touch-pan-y touch-manipulation "> </ div >
4243 < div class ="hidden inline-grid "> </ div >
4344 < div class ="divide-gray-200 "> </ div >
4445 < div class ="divide-opacity-50 "> </ div >
You can’t perform that action at this time.
0 commit comments