mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-31 02:21:35 +00:00
Fix book table data grid headers
This commit is contained in:
parent
ea3ff1c238
commit
69b72d4231
@ -45,7 +45,6 @@ const ClickThroughDataGrid = styled(DataGrid)({
|
|||||||
'& .MuiDataGrid-overlayWrapperInner': {
|
'& .MuiDataGrid-overlayWrapperInner': {
|
||||||
pointerEvents: 'none',
|
pointerEvents: 'none',
|
||||||
},
|
},
|
||||||
...{ headerStyleFix },
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const premiumColor = function (baseColor: string, accentColor: string, point: number): string {
|
const premiumColor = function (baseColor: string, accentColor: string, point: number): string {
|
||||||
@ -913,6 +912,7 @@ const BookTable = ({
|
|||||||
}
|
}
|
||||||
>
|
>
|
||||||
<ClickThroughDataGrid
|
<ClickThroughDataGrid
|
||||||
|
sx={headerStyleFix}
|
||||||
localeText={localeText}
|
localeText={localeText}
|
||||||
rowHeight={3.714 * theme.typography.fontSize}
|
rowHeight={3.714 * theme.typography.fontSize}
|
||||||
headerHeight={3.25 * theme.typography.fontSize}
|
headerHeight={3.25 * theme.typography.fontSize}
|
||||||
@ -950,6 +950,7 @@ const BookTable = ({
|
|||||||
<Dialog open={fullscreen} fullScreen={true}>
|
<Dialog open={fullscreen} fullScreen={true}>
|
||||||
<Paper style={{ width: '100%', height: '100%', overflow: 'auto' }}>
|
<Paper style={{ width: '100%', height: '100%', overflow: 'auto' }}>
|
||||||
<ClickThroughDataGrid
|
<ClickThroughDataGrid
|
||||||
|
sx={headerStyleFix}
|
||||||
localeText={localeText}
|
localeText={localeText}
|
||||||
rowHeight={3.714 * theme.typography.fontSize}
|
rowHeight={3.714 * theme.typography.fontSize}
|
||||||
headerHeight={3.25 * theme.typography.fontSize}
|
headerHeight={3.25 * theme.typography.fontSize}
|
||||||
|
Loading…
Reference in New Issue
Block a user