@@ -812,6 +812,7 @@ export function createUtilities(theme: Theme) {
812812 staticUtility ( 'table-row-group' , [ [ 'display' , 'table-row-group' ] ] )
813813 staticUtility ( 'table-row' , [ [ 'display' , 'table-row' ] ] )
814814 staticUtility ( 'flow-root' , [ [ 'display' , 'flow-root' ] ] )
815+ staticUtility ( 'flex' , [ [ 'display' , 'flex' ] ] )
815816 staticUtility ( 'grid' , [ [ 'display' , 'grid' ] ] )
816817 staticUtility ( 'inline-grid' , [ [ 'display' , 'inline-grid' ] ] )
817818 staticUtility ( 'contents' , [ [ 'display' , 'contents' ] ] )
@@ -932,10 +933,7 @@ export function createUtilities(theme: Theme) {
932933 // generate `flex: 1`. Our `functionalUtility` helper can't handle two properties
933934 // using the same namespace, so we handle this one manually.
934935 utilities . functional ( 'flex' , ( candidate ) => {
935- if ( ! candidate . value ) {
936- if ( candidate . modifier ) return
937- return [ decl ( 'display' , 'flex' ) ]
938- }
936+ if ( ! candidate . value ) return
939937
940938 if ( candidate . value . kind === 'arbitrary' ) {
941939 if ( candidate . modifier ) return
0 commit comments