File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
govtool/frontend/src/components/molecules Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ export const DataActionsBar: FC<DataActionsBarProps> = ({
7575 display = "flex"
7676 justifyContent = "space-between"
7777 gap = { { xs : 0.75 , sm : 1.5 } }
78- flexWrap = " nowrap"
78+ flexWrap = { { xs : "wrap" , sm : " nowrap" } }
7979 width = "100%"
8080 >
8181 < InputBase
@@ -94,15 +94,15 @@ export const DataActionsBar: FC<DataActionsBarProps> = ({
9494 />
9595 }
9696 endAdornment = {
97- searchText && (
97+ searchText ? (
9898 < IconButton
9999 size = "small"
100100 onClick = { ( ) => setSearchText ( "" ) }
101101 sx = { { ml : 1 } }
102102 >
103103 < CloseIcon fontSize = "small" />
104104 </ IconButton >
105- )
105+ ) : null
106106 }
107107 sx = { {
108108 bgcolor : "white" ,
@@ -114,9 +114,9 @@ export const DataActionsBar: FC<DataActionsBarProps> = ({
114114 fontWeight : 500 ,
115115 height : 48 ,
116116 padding : "16px 24px" ,
117- flex : "1 1 auto " ,
117+ flex : "1 1 0 " ,
118118 minWidth : 0 ,
119- maxWidth : "none " ,
119+ maxWidth : "100% " ,
120120 } }
121121 />
122122
@@ -125,6 +125,9 @@ export const DataActionsBar: FC<DataActionsBarProps> = ({
125125 display : "flex" ,
126126 alignItems : "center" ,
127127 gap : { xs : 0.5 , sm : 1.25 } ,
128+ flex : "0 0 auto" ,
129+ flexShrink : 0 ,
130+ mt : { xs : 1 , sm : 0 } ,
128131 } }
129132 >
130133 < OrderActionsChip
You can’t perform that action at this time.
0 commit comments