footer置底

This commit is contained in:
禺狨 2023-03-29 10:06:43 +08:00
parent c5aa3488cb
commit 1ef85a71e8
5 changed files with 80 additions and 72 deletions

View File

@ -1,5 +1,6 @@
#root {
width: 100%;
min-height: 900px;
margin: 0 auto;
text-align: center;
background-color: #ffffff;

View File

@ -223,7 +223,7 @@ h1 {
.container {
width: 1200px;
min-height: 671px;
min-height: calc(100vh - 260px);
height: auto;
margin: 0 auto;
}

View File

@ -19,6 +19,9 @@
color: #ff4d4f;
}
}
.complete {
color: #ff4d4f;
}
}
.left-item {

View File

@ -1,6 +1,6 @@
.content {
width: 1200px;
min-height: 581px;
min-height: calc(100vh - 350px);
height: auto;
margin: 0 auto;
box-sizing: border-box;

View File

@ -45,6 +45,8 @@ const LatestLearnPage = () => {
{!loading &&
courses.length > 0 &&
courses.map((item: any) => (
<>
{item.course && (
<div
key={item.course.id}
className={styles["item"]}
@ -118,6 +120,8 @@ const LatestLearnPage = () => {
)}
</div>
</div>
)}
</>
))}
</div>
<div className={styles["extra"]}>{systemConfig.pcIndexFooterMsg}</div>