Skip to content

Commit

Permalink
Remove special scrollbar styling for IE/Edge
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwathan committed Mar 13, 2018
1 parent 055e3ee commit de24a2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 36 deletions.
20 changes: 0 additions & 20 deletions __tests__/fixtures/tailwind-output.css
Original file line number Diff line number Diff line change
Expand Up @@ -3209,22 +3209,18 @@ button,

.overflow-x-auto {
overflow-x: auto;
-ms-overflow-style: -ms-autohiding-scrollbar;
}

.overflow-y-auto {
overflow-y: auto;
-ms-overflow-style: -ms-autohiding-scrollbar;
}

.overflow-x-scroll {
overflow-x: scroll;
-ms-overflow-style: -ms-scrollbar;
}

.overflow-y-scroll {
overflow-y: scroll;
-ms-overflow-style: -ms-scrollbar;
}

.scrolling-touch {
Expand Down Expand Up @@ -7118,22 +7114,18 @@ button,

.sm\:overflow-x-auto {
overflow-x: auto;
-ms-overflow-style: -ms-autohiding-scrollbar;
}

.sm\:overflow-y-auto {
overflow-y: auto;
-ms-overflow-style: -ms-autohiding-scrollbar;
}

.sm\:overflow-x-scroll {
overflow-x: scroll;
-ms-overflow-style: -ms-scrollbar;
}

.sm\:overflow-y-scroll {
overflow-y: scroll;
-ms-overflow-style: -ms-scrollbar;
}

.sm\:scrolling-touch {
Expand Down Expand Up @@ -11020,22 +11012,18 @@ button,

.md\:overflow-x-auto {
overflow-x: auto;
-ms-overflow-style: -ms-autohiding-scrollbar;
}

.md\:overflow-y-auto {
overflow-y: auto;
-ms-overflow-style: -ms-autohiding-scrollbar;
}

.md\:overflow-x-scroll {
overflow-x: scroll;
-ms-overflow-style: -ms-scrollbar;
}

.md\:overflow-y-scroll {
overflow-y: scroll;
-ms-overflow-style: -ms-scrollbar;
}

.md\:scrolling-touch {
Expand Down Expand Up @@ -14922,22 +14910,18 @@ button,

.lg\:overflow-x-auto {
overflow-x: auto;
-ms-overflow-style: -ms-autohiding-scrollbar;
}

.lg\:overflow-y-auto {
overflow-y: auto;
-ms-overflow-style: -ms-autohiding-scrollbar;
}

.lg\:overflow-x-scroll {
overflow-x: scroll;
-ms-overflow-style: -ms-scrollbar;
}

.lg\:overflow-y-scroll {
overflow-y: scroll;
-ms-overflow-style: -ms-scrollbar;
}

.lg\:scrolling-touch {
Expand Down Expand Up @@ -18824,22 +18808,18 @@ button,

.xl\:overflow-x-auto {
overflow-x: auto;
-ms-overflow-style: -ms-autohiding-scrollbar;
}

.xl\:overflow-y-auto {
overflow-y: auto;
-ms-overflow-style: -ms-autohiding-scrollbar;
}

.xl\:overflow-x-scroll {
overflow-x: scroll;
-ms-overflow-style: -ms-scrollbar;
}

.xl\:overflow-y-scroll {
overflow-y: scroll;
-ms-overflow-style: -ms-scrollbar;
}

.xl\:scrolling-touch {
Expand Down
20 changes: 4 additions & 16 deletions src/generators/overflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,10 @@ export default function() {
'overflow-hidden': { overflow: 'hidden' },
'overflow-visible': { overflow: 'visible' },
'overflow-scroll': { overflow: 'scroll' },
'overflow-x-auto': {
'overflow-x': 'auto',
'-ms-overflow-style': '-ms-autohiding-scrollbar',
},
'overflow-y-auto': {
'overflow-y': 'auto',
'-ms-overflow-style': '-ms-autohiding-scrollbar',
},
'overflow-x-scroll': {
'overflow-x': 'scroll',
'-ms-overflow-style': '-ms-scrollbar',
},
'overflow-y-scroll': {
'overflow-y': 'scroll',
'-ms-overflow-style': '-ms-scrollbar',
},
'overflow-x-auto': { 'overflow-x': 'auto' },
'overflow-y-auto': { 'overflow-y': 'auto' },
'overflow-x-scroll': { 'overflow-x': 'scroll' },
'overflow-y-scroll': { 'overflow-y': 'scroll' },
'scrolling-touch': { '-webkit-overflow-scrolling': 'touch' },
'scrolling-auto': { '-webkit-overflow-scrolling': 'auto' },
})
Expand Down

0 comments on commit de24a2a

Please sign in to comment.