mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-18 20:21:35 +00:00
Fix book header labels (#750)
This commit is contained in:
parent
ed062416db
commit
ff57b8a0ae
@ -40,6 +40,26 @@ const ClickThroughDataGrid = styled(DataGrid)({
|
||||
'& .MuiDataGrid-overlayWrapperInner': {
|
||||
pointerEvents: 'none',
|
||||
},
|
||||
// Temporary fix for regression for hidden column labels on Mobile:
|
||||
// https://github.com/mui/mui-x/issues/9776#issuecomment-1648306844
|
||||
'@media (hover: none)': {
|
||||
'&& .MuiDataGrid-menuIcon': {
|
||||
width: 0,
|
||||
visibility: 'hidden',
|
||||
},
|
||||
'&& .MuiDataGrid-sortIcon': {
|
||||
width: 0,
|
||||
visibility: 'hidden',
|
||||
},
|
||||
},
|
||||
'&& .MuiDataGrid-columnHeader--sorted .MuiDataGrid-menuIcon': {
|
||||
width: 'auto',
|
||||
visibility: 'visible',
|
||||
},
|
||||
'&& .MuiDataGrid-columnHeader--sorted .MuiDataGrid-sortIcon': {
|
||||
width: 'auto',
|
||||
visibility: 'visible',
|
||||
},
|
||||
});
|
||||
|
||||
const premiumColor = function (baseColor: string, accentColor: string, point: number) {
|
||||
|
Loading…
Reference in New Issue
Block a user