mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
fix cloud log sticky accordion header z-index
This commit is contained in:
@@ -72,7 +72,7 @@ const AccordionSummary = styled(MuiAccordionSummary)(({ theme }) => ({
|
||||
},
|
||||
|
||||
position: "sticky",
|
||||
zIndex: 2,
|
||||
zIndex: 1,
|
||||
top: 0,
|
||||
".MuiListSubheader-sticky ~ li &": { top: 32 },
|
||||
},
|
||||
|
||||
@@ -68,7 +68,7 @@ const AccordionSummary = styled(MuiAccordionSummary)(({ theme }) => ({
|
||||
},
|
||||
|
||||
position: "sticky",
|
||||
zIndex: 2,
|
||||
zIndex: 1,
|
||||
top: 0,
|
||||
".MuiListSubheader-sticky ~ li &": { top: 32 },
|
||||
},
|
||||
|
||||
@@ -3,6 +3,8 @@ import { styled, ListSubheader } from "@mui/material";
|
||||
export const CloudLogSubheader = styled((props) => (
|
||||
<ListSubheader disableGutters disableSticky={false} {...props} />
|
||||
))(({ theme }) => ({
|
||||
zIndex: 2,
|
||||
|
||||
"&:not(:first-child)": { marginTop: theme.spacing(2) },
|
||||
...theme.typography.subtitle2,
|
||||
padding: theme.spacing((32 - 20) / 2 / 8, 1.5),
|
||||
|
||||
Reference in New Issue
Block a user