Fix floating footer with "Keep navbar fixed" off
This commit is contained in:
parent
c597a20311
commit
5d8529d6bb
@ -26,8 +26,6 @@
|
|||||||
--popup-goback-background: var(--popup-red);
|
--popup-goback-background: var(--popup-red);
|
||||||
--popup-goback-text: #222;
|
--popup-goback-text: #222;
|
||||||
--popup-border: 1px solid var(--popup-red);
|
--popup-border: 1px solid var(--popup-red);
|
||||||
|
|
||||||
--footer-height: 30px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
@ -119,7 +117,6 @@ body {
|
|||||||
|
|
||||||
body.fixed_navbar {
|
body.fixed_navbar {
|
||||||
padding-top: 60px;
|
padding-top: 60px;
|
||||||
padding-bottom: var(--footer-height);
|
|
||||||
min-height: calc(100vh - 60px);
|
min-height: calc(100vh - 60px);
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
@ -317,7 +314,6 @@ body > footer {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: var(--post);
|
background: var(--post);
|
||||||
position: absolute;
|
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user