fixed footer on small displays

This commit is contained in:
Hunter W.
2026-03-27 15:56:49 -04:00
parent 166478f39a
commit 59e7589a29
2 changed files with 9 additions and 2 deletions

View File

@@ -143,9 +143,16 @@ body {
background: rgba(110, 231, 183, 0.25); background: rgba(110, 231, 183, 0.25);
color: var(--fg); color: var(--fg);
} }
.footer {
flex-direction: row;
height: 28;
}
@media (max-width: 640px) { @media (max-width: 640px) {
h1 { h1 {
font-size: 32px !important; font-size: 32px !important;
} }
.footer {
flex-direction: column;
height: 36;
}
} }

View File

@@ -4,12 +4,12 @@ import { SITE } from "@/data/content";
export default function Footer() { export default function Footer() {
return ( return (
<div <div
className="footer"
style={{ style={{
position: "fixed", position: "fixed",
bottom: 0, bottom: 0,
left: 0, left: 0,
right: 0, right: 0,
height: 28,
background: "var(--surface)", background: "var(--surface)",
borderTop: "1px solid var(--border)", borderTop: "1px solid var(--border)",
display: "flex", display: "flex",