add css for delaying fade-in

This commit is contained in:
Vishnu Sreekumaran Nair committed 2025-04-06 15:08:32 -04:00
1 parent c075c24630
commit 2f1ce06b53
2 files changed
+12

No files matched your search

+11
View File
@@ -79,6 +79,17 @@ aside .MuiListSubheader-root {
transition: padding 200ms ease; transition: padding 200ms ease;
} }
.sidebar-delay-fade {
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease;
}
aside.sidebar-ready .sidebar-delay-fade {
opacity: 1;
visibility: visible;
}
@keyframes fadeIn { @keyframes fadeIn {
0% { 0% {
opacity: 0; opacity: 0;
+1
View File
@@ -743,6 +743,7 @@ function Sidebar() {
</Typography> </Typography>
</Box> </Box>
<Stack <Stack
className="sidebar-delay-fade"
flexDirection={"row"} flexDirection={"row"}
marginLeft={"auto"} marginLeft={"auto"}
columnGap={theme.spacing(2)} columnGap={theme.spacing(2)}