feat: update default layout

This commit is contained in:
Sonny
2025-08-06 19:50:53 +02:00
parent d56bd1ef80
commit 97ba56b1e7
36 changed files with 627 additions and 119 deletions

View File

@@ -3,11 +3,26 @@
--ml-bg-dark: rgb(34, 40, 49);
}
html,
body {
min-height: 100svh;
width: 100%;
background-color: light-dark(var(--ml-bg-light), var(--ml-bg-dark));
/* Fix nprogress position */
#nprogress {
position: relative;
z-index: 9999999;
}
#app {
min-height: 100vh;
display: flex;
flex-direction: column;
}
/* For light mode */
:root[data-mantine-color-scheme='light'] {
--mantine-color-body: var(--ml-bg-light) !important;
}
/* For dark mode */
:root[data-mantine-color-scheme='dark'] {
--mantine-color-body: var(--ml-bg-dark) !important;
}
.__transition_fadeIn {