mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-04 21:17:37 +03:00
style(SongDataGrid): Improved Header Readability (#954)
* style(SongDataGrid): Table Header Definition - #943 Signed-off-by: Balaguru4580 <balaguru4580@gmail.com> * style(SongDataGrid): Improved Header Readability - #943 Signed-off-by: Balaguru4580 <balaguru4580@gmail.com> * Shadow Effect * Shadow Effect Opacity Adjustment
This commit is contained in:
parent
12223b2a83
commit
3d58c5ab54
1 changed files with 12 additions and 0 deletions
|
@ -28,6 +28,13 @@ const useStyles = makeStyles({
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
headerCell: {
|
||||||
|
fontWeight: 'bold',
|
||||||
|
padding: '15px',
|
||||||
|
},
|
||||||
|
headerLine: {
|
||||||
|
boxShadow: '0px 3px 3px rgba(0, 0, 0, 0.15)',
|
||||||
|
},
|
||||||
contextMenu: {
|
contextMenu: {
|
||||||
visibility: 'hidden',
|
visibility: 'hidden',
|
||||||
},
|
},
|
||||||
|
@ -178,9 +185,14 @@ export const SongDatagrid = ({
|
||||||
showDiscSubtitles,
|
showDiscSubtitles,
|
||||||
...rest
|
...rest
|
||||||
}) => {
|
}) => {
|
||||||
|
const classes = useStyles()
|
||||||
return (
|
return (
|
||||||
<Datagrid
|
<Datagrid
|
||||||
{...rest}
|
{...rest}
|
||||||
|
classes={{
|
||||||
|
headerCell: classes.headerCell,
|
||||||
|
headerRow: classes.headerLine,
|
||||||
|
}}
|
||||||
body={
|
body={
|
||||||
<SongDatagridBody
|
<SongDatagridBody
|
||||||
contextAlwaysVisible={contextAlwaysVisible}
|
contextAlwaysVisible={contextAlwaysVisible}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue