fixed footer on small displays
This commit is contained in:
@@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user