File tree Expand file tree Collapse file tree 1 file changed +9
-17
lines changed
catalog/app/containers/Search/Table Expand file tree Collapse file tree 1 file changed +9
-17
lines changed Original file line number Diff line number Diff line change @@ -1090,11 +1090,11 @@ const useColumnHeadStyles = M.makeStyles((t) => ({
1090
1090
} ,
1091
1091
actions : {
1092
1092
color : t . palette . text . hint ,
1093
+ display : 'flex' ,
1094
+ flexDirection : 'inherit' ,
1093
1095
transition : t . transitions . create ( 'color' ) ,
1094
- display : 'grid' ,
1095
- gridAutoFlow : 'column' ,
1096
- gridColumnGap : '2px' ,
1097
1096
} ,
1097
+ button : { } ,
1098
1098
title : {
1099
1099
...t . typography . subtitle1 ,
1100
1100
fontWeight : 500 ,
@@ -1104,26 +1104,18 @@ const useColumnHeadStyles = M.makeStyles((t) => ({
1104
1104
'& $title' : {
1105
1105
marginLeft : t . spacing ( 1 ) ,
1106
1106
} ,
1107
- '& $open' : {
1108
- gridColumn : 2 ,
1109
- } ,
1110
- '& $hide' : {
1111
- gridColumn : 1 ,
1107
+ '& $button + $button' : {
1108
+ marginRight : '2px' ,
1112
1109
} ,
1113
1110
} ,
1114
1111
inherit : {
1115
1112
'& $actions' : {
1116
1113
marginLeft : t . spacing ( 1 ) ,
1117
1114
} ,
1118
- '& $open' : {
1119
- gridColumn : 1 ,
1120
- } ,
1121
- '& $hide' : {
1122
- gridColumn : 2 ,
1115
+ '& $button + $button' : {
1116
+ marginLeft : '2px' ,
1123
1117
} ,
1124
1118
} ,
1125
- open : { } ,
1126
- hide : { } ,
1127
1119
} ) )
1128
1120
1129
1121
interface ColumnHeadProps {
@@ -1144,8 +1136,8 @@ function ColumnHead({ column, single }: ColumnHeadProps) {
1144
1136
</ M . Tooltip >
1145
1137
</ p >
1146
1138
< div className = { classes . actions } >
1147
- < ColumnHeadOpen column = { column } className = { classes . open } />
1148
- { ! single && < ColumnHeadHide column = { column } className = { classes . hide } /> }
1139
+ < ColumnHeadOpen column = { column } className = { classes . button } />
1140
+ { ! single && < ColumnHeadHide column = { column } className = { classes . button } /> }
1149
1141
</ div >
1150
1142
</ div >
1151
1143
)
You can’t perform that action at this time.
0 commit comments