Merge pull request #2772 from singh-kanwarpreet/feature/sticky-header

Made NavBar Still
This commit is contained in:
Alexander Holliday authored and GitHub committed 2025-08-14 09:43:31 -07:00
commit cb4566f829
2 files changed
+30 -2

No files matched your search

+24 -2
View File
@@ -51,16 +51,38 @@ const Logs = () => {
]; ];
return ( return (
<Stack gap={theme.spacing(4)}> <Stack gap={theme.spacing(4)}>
<Box> <Box
sx={{
position: "sticky",
top: theme.spacing(17),
backdropFilter: "blur(10px)",
paddingY: theme.spacing(5),
paddingLeft: theme.spacing(6),
}}
>
<Typography variant="h2">{t("logsPage.description")}</Typography> <Typography variant="h2">{t("logsPage.description")}</Typography>
</Box> </Box>
<Divider color={theme.palette.accent.main} /> <Divider
color={theme.palette.accent.main}
sx={{
position: "sticky",
top: theme.spacing(33),
backdropFilter: "blur(10px)",
}}
/>
<Stack <Stack
direction="row" direction="row"
alignItems="center" alignItems="center"
gap={theme.spacing(4)} gap={theme.spacing(4)}
mt={theme.spacing(10)} mt={theme.spacing(10)}
sx={{
position: "sticky",
top: theme.spacing(34),
backdropFilter: "blur(10px)",
paddingTop: theme.spacing(4),
paddingLeft: theme.spacing(6),
}}
> >
<Typography>{t("logsPage.logLevelSelect.title")}</Typography> <Typography>{t("logsPage.logLevelSelect.title")}</Typography>
<Select <Select
+6
View File
@@ -29,6 +29,12 @@ const Logs = () => {
<Tabs <Tabs
value={value} value={value}
onChange={handleChange} onChange={handleChange}
sx={{
position: "sticky",
top: theme.spacing(0),
backdropFilter: "blur(10px)",
zIndex: theme.zIndex.appBar,
}}
> >
<Tab label={t("logsPage.tabs.logs")} /> <Tab label={t("logsPage.tabs.logs")} />
<Tab label={t("logsPage.tabs.queue")} /> <Tab label={t("logsPage.tabs.queue")} />