Skip to content

Commit

Permalink
Fix metadata table header.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewelinagr committed Aug 9, 2024
1 parent 05c103c commit eaba481
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
7 changes: 1 addition & 6 deletions projects/mercury/src/file/FileVersionsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,7 @@ const FileVersionsList = ({selectedFile, onRevertVersion, isWritingEnabled, clas
);

const renderHeader = ({label}) => (
<TableCell
component="div"
className={`${classes.tableCell} ${classes.tableHeaderRow}`}
variant="head"
align="left"
>
<TableCell component="div" className={classes.tableCell} variant="head" align="left">
{label}
</TableCell>
);
Expand Down
5 changes: 0 additions & 5 deletions projects/mercury/src/metadata/views/MetadataViewTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@ type MetadataViewTableProperties = {
};

const useStyles = makeStyles(() => ({
headerRow: {
'& .MuiTableCell-root': {
borderRadius: 20
}
},
headerCellContents: {
verticalAlign: 'top',
whiteSpace: 'nowrap'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ const styles = theme => ({
overflowX: 'auto',
'& .MuiTableCell-stickyHeader': {
backgroundColor: theme.palette.background.default
}
},
borderRadius: theme.shape.borderRadius
},
tableFooter: {
flex: 1
Expand Down

0 comments on commit eaba481

Please sign in to comment.