Skip to content

Commit

Permalink
Remove clearfix utility (#2766)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwathan committed Nov 14, 2020
1 parent 18e2bd6 commit b95cf5f
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 149 deletions.
36 changes: 0 additions & 36 deletions __tests__/fixtures/tailwind-output-flagged.css
Expand Up @@ -11417,12 +11417,6 @@ video {
float: none;
}

.clearfix:after {
content: "";
display: table;
clear: both;
}

.clear-left {
clear: left;
}
Expand Down Expand Up @@ -40227,12 +40221,6 @@ video {
float: none;
}

.sm\:clearfix:after {
content: "";
display: table;
clear: both;
}

.sm\:clear-left {
clear: left;
}
Expand Down Expand Up @@ -69007,12 +68995,6 @@ video {
float: none;
}

.md\:clearfix:after {
content: "";
display: table;
clear: both;
}

.md\:clear-left {
clear: left;
}
Expand Down Expand Up @@ -97787,12 +97769,6 @@ video {
float: none;
}

.lg\:clearfix:after {
content: "";
display: table;
clear: both;
}

.lg\:clear-left {
clear: left;
}
Expand Down Expand Up @@ -126567,12 +126543,6 @@ video {
float: none;
}

.xl\:clearfix:after {
content: "";
display: table;
clear: both;
}

.xl\:clear-left {
clear: left;
}
Expand Down Expand Up @@ -155347,12 +155317,6 @@ video {
float: none;
}

.\32xl\:clearfix:after {
content: "";
display: table;
clear: both;
}

.\32xl\:clear-left {
clear: left;
}
Expand Down
36 changes: 0 additions & 36 deletions __tests__/fixtures/tailwind-output-important.css
Expand Up @@ -11417,12 +11417,6 @@ video {
float: none !important;
}

.clearfix:after {
content: "" !important;
display: table !important;
clear: both !important;
}

.clear-left {
clear: left !important;
}
Expand Down Expand Up @@ -40227,12 +40221,6 @@ video {
float: none !important;
}

.sm\:clearfix:after {
content: "" !important;
display: table !important;
clear: both !important;
}

.sm\:clear-left {
clear: left !important;
}
Expand Down Expand Up @@ -69007,12 +68995,6 @@ video {
float: none !important;
}

.md\:clearfix:after {
content: "" !important;
display: table !important;
clear: both !important;
}

.md\:clear-left {
clear: left !important;
}
Expand Down Expand Up @@ -97787,12 +97769,6 @@ video {
float: none !important;
}

.lg\:clearfix:after {
content: "" !important;
display: table !important;
clear: both !important;
}

.lg\:clear-left {
clear: left !important;
}
Expand Down Expand Up @@ -126567,12 +126543,6 @@ video {
float: none !important;
}

.xl\:clearfix:after {
content: "" !important;
display: table !important;
clear: both !important;
}

.xl\:clear-left {
clear: left !important;
}
Expand Down Expand Up @@ -155347,12 +155317,6 @@ video {
float: none !important;
}

.\32xl\:clearfix:after {
content: "" !important;
display: table !important;
clear: both !important;
}

.\32xl\:clear-left {
clear: left !important;
}
Expand Down
36 changes: 0 additions & 36 deletions __tests__/fixtures/tailwind-output-no-color-opacity.css
Expand Up @@ -9855,12 +9855,6 @@ video {
float: none;
}

.clearfix:after {
content: "";
display: table;
clear: both;
}

.clear-left {
clear: left;
}
Expand Down Expand Up @@ -36109,12 +36103,6 @@ video {
float: none;
}

.sm\:clearfix:after {
content: "";
display: table;
clear: both;
}

.sm\:clear-left {
clear: left;
}
Expand Down Expand Up @@ -62333,12 +62321,6 @@ video {
float: none;
}

.md\:clearfix:after {
content: "";
display: table;
clear: both;
}

.md\:clear-left {
clear: left;
}
Expand Down Expand Up @@ -88557,12 +88539,6 @@ video {
float: none;
}

.lg\:clearfix:after {
content: "";
display: table;
clear: both;
}

.lg\:clear-left {
clear: left;
}
Expand Down Expand Up @@ -114781,12 +114757,6 @@ video {
float: none;
}

.xl\:clearfix:after {
content: "";
display: table;
clear: both;
}

.xl\:clear-left {
clear: left;
}
Expand Down Expand Up @@ -141005,12 +140975,6 @@ video {
float: none;
}

.\32xl\:clearfix:after {
content: "";
display: table;
clear: both;
}

.\32xl\:clear-left {
clear: left;
}
Expand Down
36 changes: 0 additions & 36 deletions __tests__/fixtures/tailwind-output.css
Expand Up @@ -11417,12 +11417,6 @@ video {
float: none;
}

.clearfix:after {
content: "";
display: table;
clear: both;
}

.clear-left {
clear: left;
}
Expand Down Expand Up @@ -40227,12 +40221,6 @@ video {
float: none;
}

.sm\:clearfix:after {
content: "";
display: table;
clear: both;
}

.sm\:clear-left {
clear: left;
}
Expand Down Expand Up @@ -69007,12 +68995,6 @@ video {
float: none;
}

.md\:clearfix:after {
content: "";
display: table;
clear: both;
}

.md\:clear-left {
clear: left;
}
Expand Down Expand Up @@ -97787,12 +97769,6 @@ video {
float: none;
}

.lg\:clearfix:after {
content: "";
display: table;
clear: both;
}

.lg\:clear-left {
clear: left;
}
Expand Down Expand Up @@ -126567,12 +126543,6 @@ video {
float: none;
}

.xl\:clearfix:after {
content: "";
display: table;
clear: both;
}

.xl\:clear-left {
clear: left;
}
Expand Down Expand Up @@ -155347,12 +155317,6 @@ video {
float: none;
}

.\32xl\:clearfix:after {
content: "";
display: table;
clear: both;
}

.\32xl\:clear-left {
clear: left;
}
Expand Down
5 changes: 0 additions & 5 deletions src/plugins/float.js
Expand Up @@ -5,11 +5,6 @@ export default function () {
'.float-right': { float: 'right' },
'.float-left': { float: 'left' },
'.float-none': { float: 'none' },
'.clearfix:after': {
content: '""',
display: 'table',
clear: 'both',
},
},
variants('float')
)
Expand Down

0 comments on commit b95cf5f

Please sign in to comment.