Skip to content

Commit de24a2a

Browse files
committed
Remove special scrollbar styling for IE/Edge
1 parent 055e3ee commit de24a2a

File tree

2 files changed

+4
-36
lines changed

2 files changed

+4
-36
lines changed

__tests__/fixtures/tailwind-output.css

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3209,22 +3209,18 @@ button,
32093209

32103210
.overflow-x-auto {
32113211
overflow-x: auto;
3212-
-ms-overflow-style: -ms-autohiding-scrollbar;
32133212
}
32143213

32153214
.overflow-y-auto {
32163215
overflow-y: auto;
3217-
-ms-overflow-style: -ms-autohiding-scrollbar;
32183216
}
32193217

32203218
.overflow-x-scroll {
32213219
overflow-x: scroll;
3222-
-ms-overflow-style: -ms-scrollbar;
32233220
}
32243221

32253222
.overflow-y-scroll {
32263223
overflow-y: scroll;
3227-
-ms-overflow-style: -ms-scrollbar;
32283224
}
32293225

32303226
.scrolling-touch {
@@ -7118,22 +7114,18 @@ button,
71187114

71197115
.sm\:overflow-x-auto {
71207116
overflow-x: auto;
7121-
-ms-overflow-style: -ms-autohiding-scrollbar;
71227117
}
71237118

71247119
.sm\:overflow-y-auto {
71257120
overflow-y: auto;
7126-
-ms-overflow-style: -ms-autohiding-scrollbar;
71277121
}
71287122

71297123
.sm\:overflow-x-scroll {
71307124
overflow-x: scroll;
7131-
-ms-overflow-style: -ms-scrollbar;
71327125
}
71337126

71347127
.sm\:overflow-y-scroll {
71357128
overflow-y: scroll;
7136-
-ms-overflow-style: -ms-scrollbar;
71377129
}
71387130

71397131
.sm\:scrolling-touch {
@@ -11020,22 +11012,18 @@ button,
1102011012

1102111013
.md\:overflow-x-auto {
1102211014
overflow-x: auto;
11023-
-ms-overflow-style: -ms-autohiding-scrollbar;
1102411015
}
1102511016

1102611017
.md\:overflow-y-auto {
1102711018
overflow-y: auto;
11028-
-ms-overflow-style: -ms-autohiding-scrollbar;
1102911019
}
1103011020

1103111021
.md\:overflow-x-scroll {
1103211022
overflow-x: scroll;
11033-
-ms-overflow-style: -ms-scrollbar;
1103411023
}
1103511024

1103611025
.md\:overflow-y-scroll {
1103711026
overflow-y: scroll;
11038-
-ms-overflow-style: -ms-scrollbar;
1103911027
}
1104011028

1104111029
.md\:scrolling-touch {
@@ -14922,22 +14910,18 @@ button,
1492214910

1492314911
.lg\:overflow-x-auto {
1492414912
overflow-x: auto;
14925-
-ms-overflow-style: -ms-autohiding-scrollbar;
1492614913
}
1492714914

1492814915
.lg\:overflow-y-auto {
1492914916
overflow-y: auto;
14930-
-ms-overflow-style: -ms-autohiding-scrollbar;
1493114917
}
1493214918

1493314919
.lg\:overflow-x-scroll {
1493414920
overflow-x: scroll;
14935-
-ms-overflow-style: -ms-scrollbar;
1493614921
}
1493714922

1493814923
.lg\:overflow-y-scroll {
1493914924
overflow-y: scroll;
14940-
-ms-overflow-style: -ms-scrollbar;
1494114925
}
1494214926

1494314927
.lg\:scrolling-touch {
@@ -18824,22 +18808,18 @@ button,
1882418808

1882518809
.xl\:overflow-x-auto {
1882618810
overflow-x: auto;
18827-
-ms-overflow-style: -ms-autohiding-scrollbar;
1882818811
}
1882918812

1883018813
.xl\:overflow-y-auto {
1883118814
overflow-y: auto;
18832-
-ms-overflow-style: -ms-autohiding-scrollbar;
1883318815
}
1883418816

1883518817
.xl\:overflow-x-scroll {
1883618818
overflow-x: scroll;
18837-
-ms-overflow-style: -ms-scrollbar;
1883818819
}
1883918820

1884018821
.xl\:overflow-y-scroll {
1884118822
overflow-y: scroll;
18842-
-ms-overflow-style: -ms-scrollbar;
1884318823
}
1884418824

1884518825
.xl\:scrolling-touch {

src/generators/overflow.js

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,10 @@ export default function() {
66
'overflow-hidden': { overflow: 'hidden' },
77
'overflow-visible': { overflow: 'visible' },
88
'overflow-scroll': { overflow: 'scroll' },
9-
'overflow-x-auto': {
10-
'overflow-x': 'auto',
11-
'-ms-overflow-style': '-ms-autohiding-scrollbar',
12-
},
13-
'overflow-y-auto': {
14-
'overflow-y': 'auto',
15-
'-ms-overflow-style': '-ms-autohiding-scrollbar',
16-
},
17-
'overflow-x-scroll': {
18-
'overflow-x': 'scroll',
19-
'-ms-overflow-style': '-ms-scrollbar',
20-
},
21-
'overflow-y-scroll': {
22-
'overflow-y': 'scroll',
23-
'-ms-overflow-style': '-ms-scrollbar',
24-
},
9+
'overflow-x-auto': { 'overflow-x': 'auto' },
10+
'overflow-y-auto': { 'overflow-y': 'auto' },
11+
'overflow-x-scroll': { 'overflow-x': 'scroll' },
12+
'overflow-y-scroll': { 'overflow-y': 'scroll' },
2513
'scrolling-touch': { '-webkit-overflow-scrolling': 'touch' },
2614
'scrolling-auto': { '-webkit-overflow-scrolling': 'auto' },
2715
})

0 commit comments

Comments
 (0)