Updated Style
This commit is contained in:
1 parent
7ab5f4ab09
commit
13a5f699ba
1 file changed
+19
-29
@@ -51,41 +51,31 @@ const Logs = () => {
|
|||||||
];
|
];
|
||||||
return (
|
return (
|
||||||
<Stack gap={theme.spacing(8)}>
|
<Stack gap={theme.spacing(8)}>
|
||||||
<Box
|
<Stack
|
||||||
|
gap={theme.spacing(8)}
|
||||||
sx={{
|
sx={{
|
||||||
position: "sticky",
|
position: "sticky",
|
||||||
top: 40,
|
top: theme.spacing(19),
|
||||||
left: 10,
|
|
||||||
zIndex: 950,
|
zIndex: 950,
|
||||||
backgroundColor: theme.palette.tertiary.main,
|
backgroundColor: theme.palette.primary.main,
|
||||||
paddingY: theme.spacing(6),
|
paddingY: theme.spacing(7),
|
||||||
|
paddingX: theme.spacing(7),
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Typography variant="h2">{t("logsPage.description")}</Typography>
|
<Typography variant="h2">{t("logsPage.description")}</Typography>
|
||||||
</Box>
|
<Divider color={theme.palette.accent.main} />
|
||||||
<Divider color={theme.palette.accent.main} />
|
<Stack
|
||||||
|
direction="row"
|
||||||
<Stack
|
alignItems="center"
|
||||||
direction="row"
|
gap={theme.spacing(4)}
|
||||||
alignItems="center"
|
>
|
||||||
gap={theme.spacing(4)}
|
<Typography>{t("logsPage.logLevelSelect.title")}</Typography>
|
||||||
mt={theme.spacing(10)}
|
<Select
|
||||||
sx={{
|
items={LOG_LEVELS}
|
||||||
position: "sticky",
|
value={logLevel}
|
||||||
top: 80,
|
onChange={(e) => setLogLevel(e.target.value)}
|
||||||
zIndex: 900,
|
/>
|
||||||
backgroundColor: theme.palette.tertiary.main,
|
</Stack>
|
||||||
paddingY: theme.spacing(1),
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<Typography>{t("logsPage.logLevelSelect.title")}</Typography>
|
|
||||||
<Select
|
|
||||||
items={LOG_LEVELS}
|
|
||||||
value={logLevel}
|
|
||||||
onChange={(e) => {
|
|
||||||
setLogLevel(e.target.value);
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|
||||||
<Box
|
<Box
|
||||||
|
|||||||
Reference in new issue
Block a user