Skip to content

Commit 131b4b5

Browse files
authored
Merge pull request #1413 from florianbouvot/master
Add missing clear-none
2 parents d4ca4c1 + 3c20ae8 commit 131b4b5

File tree

3 files changed

+41
-0
lines changed

3 files changed

+41
-0
lines changed

__tests__/fixtures/tailwind-output-important.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3674,6 +3674,10 @@ video {
36743674
clear: both !important;
36753675
}
36763676

3677+
.clear-none {
3678+
clear: none !important;
3679+
}
3680+
36773681
.font-sans {
36783682
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;
36793683
}
@@ -13979,6 +13983,10 @@ video {
1397913983
clear: both !important;
1398013984
}
1398113985

13986+
.sm\:clear-none {
13987+
clear: none !important;
13988+
}
13989+
1398213990
.sm\:font-sans {
1398313991
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;
1398413992
}
@@ -24285,6 +24293,10 @@ video {
2428524293
clear: both !important;
2428624294
}
2428724295

24296+
.md\:clear-none {
24297+
clear: none !important;
24298+
}
24299+
2428824300
.md\:font-sans {
2428924301
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;
2429024302
}
@@ -34591,6 +34603,10 @@ video {
3459134603
clear: both !important;
3459234604
}
3459334605

34606+
.lg\:clear-none {
34607+
clear: none !important;
34608+
}
34609+
3459434610
.lg\:font-sans {
3459534611
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;
3459634612
}
@@ -44897,6 +44913,10 @@ video {
4489744913
clear: both !important;
4489844914
}
4489944915

44916+
.xl\:clear-none {
44917+
clear: none !important;
44918+
}
44919+
4490044920
.xl\:font-sans {
4490144921
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;
4490244922
}

__tests__/fixtures/tailwind-output.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3674,6 +3674,10 @@ video {
36743674
clear: both;
36753675
}
36763676

3677+
.clear-none {
3678+
clear: none;
3679+
}
3680+
36773681
.font-sans {
36783682
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";
36793683
}
@@ -13979,6 +13983,10 @@ video {
1397913983
clear: both;
1398013984
}
1398113985

13986+
.sm\:clear-none {
13987+
clear: none;
13988+
}
13989+
1398213990
.sm\:font-sans {
1398313991
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";
1398413992
}
@@ -24285,6 +24293,10 @@ video {
2428524293
clear: both;
2428624294
}
2428724295

24296+
.md\:clear-none {
24297+
clear: none;
24298+
}
24299+
2428824300
.md\:font-sans {
2428924301
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";
2429024302
}
@@ -34591,6 +34603,10 @@ video {
3459134603
clear: both;
3459234604
}
3459334605

34606+
.lg\:clear-none {
34607+
clear: none;
34608+
}
34609+
3459434610
.lg\:font-sans {
3459534611
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";
3459634612
}
@@ -44897,6 +44913,10 @@ video {
4489744913
clear: both;
4489844914
}
4489944915

44916+
.xl\:clear-none {
44917+
clear: none;
44918+
}
44919+
4490044920
.xl\:font-sans {
4490144921
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";
4490244922
}

src/plugins/clear.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export default function() {
55
'.clear-left': { clear: 'left' },
66
'.clear-right': { clear: 'right' },
77
'.clear-both': { clear: 'both' },
8+
'.clear-none': { clear: 'none' },
89
},
910
variants('clear')
1011
)

0 commit comments

Comments
 (0)