chore: scroll containers and styling

main
Antonio De Lucreziis 10 months ago
parent 8d16c94ae8
commit 90341a5cfa

@ -22,8 +22,10 @@ const { title } = Astro.props
</head> </head>
<body> <body>
<Sidebar /> <Sidebar />
<div class="scroll-container">
<main> <main>
<slot /> <slot />
</main> </main>
</div>
</body> </body>
</html> </html>

@ -1,6 +1,9 @@
$accent-400: #f8f5ff; $accent-400: #f8f5ff;
$accent-500: #d8ccfa; $accent-500: #d8ccfa;
$job-running-400: #dfd;
$job-running-500: #bfb;
*, *,
*::before, *::before,
*::after { *::after {
@ -403,8 +406,13 @@ body {
} }
} }
main { & > .scroll-container {
grid-area: main; grid-area: main;
display: grid;
justify-items: center;
overflow-y: auto;
main {
padding: 2rem; padding: 2rem;
display: flex; display: flex;
@ -446,10 +454,6 @@ body {
cursor: pointer; cursor: pointer;
&.running {
background: #dfd;
}
& > .name { & > .name {
grid-column: span 3; grid-column: span 3;
@ -474,6 +478,15 @@ body {
&:hover { &:hover {
background: $accent-500; background: $accent-500;
} }
&.running {
background: $job-running-400;
&:hover {
background: $job-running-500;
}
}
}
} }
} }
} }

Loading…
Cancel
Save