footer overlap with sidebar fix

This commit is contained in:
spleenftw committed 2026-05-29 15:19:59 +02:00
1 parent 3985cb7cae
commit db00f99e85
1 file changed
+15 -7
+15 -7
View File
@@ -109,7 +109,9 @@ html {
body { body {
font-family: var(--font-sans); font-family: var(--font-sans);
padding-top: 56px; padding-top: 56px;
margin-bottom: 64px; min-height: 100vh;
display: flex;
flex-direction: column;
background-color: var(--bg-body); background-color: var(--bg-body);
color: var(--text-primary); color: var(--text-primary);
font-size: var(--font-size-base); font-size: var(--font-size-base);
@@ -119,6 +121,13 @@ body {
text-rendering: optimizeLegibility; text-rendering: optimizeLegibility;
} }
/* Main content grows so the footer is pushed to the bottom (sticky footer) */
body > .container {
flex: 1 0 auto;
width: 100%;
padding-bottom: var(--space-xl);
}
img { img {
max-width: 100%; max-width: 100%;
height: auto; height: auto;
@@ -381,8 +390,8 @@ img.nav-svg-icon {
PROFILE HERO (Blowfish-style homepage) PROFILE HERO (Blowfish-style homepage)
======================================== */ ======================================== */
.profile { .profile {
padding: var(--space-xl) 0 var(--space-lg); padding: var(--space-lg) 0 var(--space-md);
margin-bottom: var(--space-lg); margin-bottom: var(--space-md);
border-bottom: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
} }
@@ -728,8 +737,8 @@ img.nav-svg-icon {
/* Compact profile card inside the sidebar (article view) */ /* Compact profile card inside the sidebar (article view) */
.sidebar-profile { .sidebar-profile {
padding-bottom: var(--space-lg); padding-bottom: var(--space-md);
margin-bottom: var(--space-lg); margin-bottom: var(--space-md);
border-bottom: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle);
} }
@@ -870,8 +879,7 @@ img.nav-svg-icon {
FOOTER FOOTER
======================================== */ ======================================== */
footer.footer-modern { footer.footer-modern {
position: absolute; flex-shrink: 0;
bottom: 0;
width: 100%; width: 100%;
min-height: 64px; min-height: 64px;
line-height: 1.6; line-height: 1.6;