Skip to content

Commit

Permalink
Remove clearfix utility
Browse files Browse the repository at this point in the history
  • Loading branch information
Crisis2010 authored and ben-rogerson committed Nov 25, 2020
1 parent 7a2e050 commit fafcf57
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
1 change: 0 additions & 1 deletion __fixtures__/!custom.js
Expand Up @@ -14,5 +14,4 @@ tw`group-focus:bg-red-500`
tw`group-active:bg-red-500`
tw`group-visited:bg-red-500`

tw`clearfix`
tw`stroke-non-scaling`
13 changes: 6 additions & 7 deletions __snapshots__/plugin.test.js.snap
Expand Up @@ -109,7 +109,6 @@ tw\`group-focus:bg-red-500\`
tw\`group-active:bg-red-500\`
tw\`group-visited:bg-red-500\`
tw\`clearfix\`
tw\`stroke-non-scaling\`
↓ ↓ ↓ ↓ ↓ ↓
Expand Down Expand Up @@ -436,26 +435,26 @@ const _GlobalStyles = () => (
<_globalImport
styles={_css\`
@keyframes spin {
to {
to {
transform: rotate(360deg);
}
}
@keyframes ping {
75%, 100% {
75%, 100% {
transform: scale(2); opacity: 0;
}
}
@keyframes pulse {
50% {
50% {
opacity: .5;
}
}
@keyframes bounce {
0%, 100% {
0%, 100% {
transform: translateY(-25%); animationTimingFunction: cubic-bezier(0.8,0,1,1);
}
50% {
50% {
transform: none; animationTimingFunction: cubic-bezier(0,0,0.2,1);
}
}\`}
Expand Down
4 changes: 0 additions & 4 deletions src/config/staticStyles.js
Expand Up @@ -49,10 +49,6 @@ export default {
'float-right': { output: { float: 'right' } },
'float-left': { output: { float: 'left' } },
'float-none': { output: { float: 'none' } },
clearfix: {
output: { '::after': { content: '""', display: 'table', clear: 'both' } },
config: false,
},

// https://tailwindcss.com/docs/clear
'clear-left': { output: { clear: 'left' } },
Expand Down

0 comments on commit fafcf57

Please sign in to comment.