ConnectServiceSelect: fix list edge styles on dark theme

This commit is contained in:
Sidney Alcantara
2021-11-01 17:00:31 +11:00
parent b4c154e6c0
commit 7cc74dba9b

View File

@@ -36,13 +36,13 @@ export const useStyles = makeStyles((theme) =>
display: "block",
height: 16,
background: `linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0))`,
background: `linear-gradient(to bottom, ${theme.palette.background.paper}, rgba(255, 255, 255, 0))`,
},
"&::after": {
top: "auto",
bottom: 0,
background: `linear-gradient(to top, #fff, rgba(255, 255, 255, 0))`,
background: `linear-gradient(to top, ${theme.palette.background.paper}, rgba(255, 255, 255, 0))`,
},
},
list: () => {