Skip to content

Commit

Permalink
Add clear-none
Browse files Browse the repository at this point in the history
  • Loading branch information
florianbouvot committed Mar 2, 2020
1 parent af36c68 commit 3c20ae8
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
20 changes: 20 additions & 0 deletions __tests__/fixtures/tailwind-output-important.css
Original file line number Diff line number Diff line change
Expand Up @@ -3674,6 +3674,10 @@ video {
clear: both !important;
}

.clear-none {
clear: none !important;
}

.font-sans {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
}
Expand Down Expand Up @@ -13979,6 +13983,10 @@ video {
clear: both !important;
}

.sm\:clear-none {
clear: none !important;
}

.sm\:font-sans {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
}
Expand Down Expand Up @@ -24285,6 +24293,10 @@ video {
clear: both !important;
}

.md\:clear-none {
clear: none !important;
}

.md\:font-sans {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
}
Expand Down Expand Up @@ -34591,6 +34603,10 @@ video {
clear: both !important;
}

.lg\:clear-none {
clear: none !important;
}

.lg\:font-sans {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
}
Expand Down Expand Up @@ -44897,6 +44913,10 @@ video {
clear: both !important;
}

.xl\:clear-none {
clear: none !important;
}

.xl\:font-sans {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
}
Expand Down
20 changes: 20 additions & 0 deletions __tests__/fixtures/tailwind-output.css
Original file line number Diff line number Diff line change
Expand Up @@ -3674,6 +3674,10 @@ video {
clear: both;
}

.clear-none {
clear: none;
}

.font-sans {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
Expand Down Expand Up @@ -13979,6 +13983,10 @@ video {
clear: both;
}

.sm\:clear-none {
clear: none;
}

.sm\:font-sans {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
Expand Down Expand Up @@ -24285,6 +24293,10 @@ video {
clear: both;
}

.md\:clear-none {
clear: none;
}

.md\:font-sans {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
Expand Down Expand Up @@ -34591,6 +34603,10 @@ video {
clear: both;
}

.lg\:clear-none {
clear: none;
}

.lg\:font-sans {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
Expand Down Expand Up @@ -44897,6 +44913,10 @@ video {
clear: both;
}

.xl\:clear-none {
clear: none;
}

.xl\:font-sans {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
Expand Down
1 change: 1 addition & 0 deletions src/plugins/clear.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export default function() {
'.clear-left': { clear: 'left' },
'.clear-right': { clear: 'right' },
'.clear-both': { clear: 'both' },
'.clear-none': { clear: 'none' },
},
variants('clear')
)
Expand Down

0 comments on commit 3c20ae8

Please sign in to comment.