fix: footer 问题 — main-content min-height 用 calc 自适应(不改 body flex)
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
Theme Name: 空笺未寄
|
Theme Name: 空笺未寄
|
||||||
Version: 0.14.9
|
Version: 0.15.0
|
||||||
Requires at least: 6.0
|
Requires at least: 6.0
|
||||||
Requires PHP: 7.4
|
Requires PHP: 7.4
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -82,7 +82,7 @@ Text Domain: kj-weji
|
|||||||
content:''; position:absolute; bottom:-4px; left:50%; transform:translateX(-50%);
|
content:''; position:absolute; bottom:-4px; left:50%; transform:translateX(-50%);
|
||||||
width:4px; height:4px; background:var(--cinnabar); border-radius:50%;
|
width:4px; height:4px; background:var(--cinnabar); border-radius:50%;
|
||||||
}
|
}
|
||||||
.main-content { padding:40px; min-height:500px; }
|
.main-content { padding:40px; min-height: calc(100vh - var(--topbar-height) - 160px); }
|
||||||
|
|
||||||
/* 首页 */
|
/* 首页 */
|
||||||
.hero { text-align:center; padding:48px 20px 32px; }
|
.hero { text-align:center; padding:48px 20px 32px; }
|
||||||
|
|||||||
Reference in New Issue
Block a user