Skip to content

Commit

Permalink
Add flow-root display utility
Browse files Browse the repository at this point in the history
  • Loading branch information
benface committed Mar 18, 2020
1 parent a81f474 commit 57122d6
Show file tree
Hide file tree
Showing 3 changed files with 43 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 @@ -3388,6 +3388,10 @@ video {
display: inline !important;
}

.flow-root {
display: flow-root !important;
}

.flex {
display: flex !important;
}
Expand Down Expand Up @@ -13701,6 +13705,10 @@ video {
display: inline !important;
}

.sm\:flow-root {
display: flow-root !important;
}

.sm\:flex {
display: flex !important;
}
Expand Down Expand Up @@ -24015,6 +24023,10 @@ video {
display: inline !important;
}

.md\:flow-root {
display: flow-root !important;
}

.md\:flex {
display: flex !important;
}
Expand Down Expand Up @@ -34329,6 +34341,10 @@ video {
display: inline !important;
}

.lg\:flow-root {
display: flow-root !important;
}

.lg\:flex {
display: flex !important;
}
Expand Down Expand Up @@ -44643,6 +44659,10 @@ video {
display: inline !important;
}

.xl\:flow-root {
display: flow-root !important;
}

.xl\:flex {
display: flex !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 @@ -3388,6 +3388,10 @@ video {
display: inline;
}

.flow-root {
display: flow-root;
}

.flex {
display: flex;
}
Expand Down Expand Up @@ -13701,6 +13705,10 @@ video {
display: inline;
}

.sm\:flow-root {
display: flow-root;
}

.sm\:flex {
display: flex;
}
Expand Down Expand Up @@ -24015,6 +24023,10 @@ video {
display: inline;
}

.md\:flow-root {
display: flow-root;
}

.md\:flex {
display: flex;
}
Expand Down Expand Up @@ -34329,6 +34341,10 @@ video {
display: inline;
}

.lg\:flow-root {
display: flow-root;
}

.lg\:flex {
display: flex;
}
Expand Down Expand Up @@ -44643,6 +44659,10 @@ video {
display: inline;
}

.xl\:flow-root {
display: flow-root;
}

.xl\:flex {
display: flex;
}
Expand Down
3 changes: 3 additions & 0 deletions src/plugins/display.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ export default function() {
'.inline': {
display: 'inline',
},
'.flow-root': {
display: 'flow-root',
},
'.flex': {
display: 'flex',
},
Expand Down

0 comments on commit 57122d6

Please sign in to comment.