Updated Style

This commit is contained in:
singh-kanwarpreet committed 2025-08-13 22:53:18 +05:30
1 parent 7ab5f4ab09
commit 13a5f699ba
1 file changed
+8 -18
+8 -18
View File
@@ -51,42 +51,32 @@ 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 <Stack
direction="row" direction="row"
alignItems="center" alignItems="center"
gap={theme.spacing(4)} gap={theme.spacing(4)}
mt={theme.spacing(10)}
sx={{
position: "sticky",
top: 80,
zIndex: 900,
backgroundColor: theme.palette.tertiary.main,
paddingY: theme.spacing(1),
}}
> >
<Typography>{t("logsPage.logLevelSelect.title")}</Typography> <Typography>{t("logsPage.logLevelSelect.title")}</Typography>
<Select <Select
items={LOG_LEVELS} items={LOG_LEVELS}
value={logLevel} value={logLevel}
onChange={(e) => { onChange={(e) => setLogLevel(e.target.value)}
setLogLevel(e.target.value);
}}
/> />
</Stack> </Stack>
</Stack>
<Box <Box
component="pre" component="pre"