Keep statistics charts clear of the footer

Use a full-height flex layout and normal footer flow so long chart content scrolls without overlapping the footer. Keep the page gradient fixed while scrolling.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
leanderandCopilot committed 2026-10-22 04:54:28 +02:00
1 parent 9ad7b8aa28
commit 4d64126581
3 files changed
+10 -5

No files matched your search

+7 -1
View File
@@ -14,13 +14,18 @@
html,
body {
width: 100%;
height: 100%;
min-height: 100%;
padding: 0;
margin: 0;
}
html {
box-sizing: border-box;
}
#root {
display: flex;
min-height: 100vh;
flex-direction: column;
}
*,
*:before,
*:after {
@@ -30,6 +35,7 @@ html {
/* Body and interitable styles */
body {
background: linear-gradient(rgba(0, 0, 0, 0.8) 60%, var(--background) 100%);
background-attachment: fixed;
background-color: var(--background);
color: var(--text);
font-family: var(--font-family);