fix: fix overflow hidden for admin page

This commit is contained in:
RockYang
2024-03-28 18:51:09 +08:00
parent c79c4e74d0
commit 8eed7ff534
2 changed files with 13 additions and 2 deletions

View File

@@ -10,6 +10,11 @@ body {
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility; text-rendering: optimizeLegibility;
} }
.admin-home {
overflow: hidden;
position: relative;
height: 100vh;
}
.admin-home a { .admin-home a {
text-decoration: none; text-decoration: none;
} }
@@ -32,10 +37,11 @@ body {
/*BaseForm*/ /*BaseForm*/
} }
.admin-home .content-box .content .container { .admin-home .content-box .content .container {
padding: 30px; padding: 15px 20px 30px 20px;
background: #fff; background: #fff;
border: 1px solid #ddd; border: 1px solid #ddd;
border-radius: 5px; border-radius: 5px;
margin-bottom: 80px;
} }
.admin-home .content-box .content .container .handle-box { .admin-home .content-box .content .container .handle-box {
margin-bottom: 20px; margin-bottom: 20px;

View File

@@ -18,6 +18,10 @@ body {
} }
.admin-home { .admin-home {
overflow hidden
position relative
height 100vh
a { a {
text-decoration: none text-decoration: none
} }
@@ -40,10 +44,11 @@ body {
box-sizing: border-box; box-sizing: border-box;
.container { .container {
padding: 30px; padding: 15px 20px 30px 20px;
background: #fff; background: #fff;
border: 1px solid #ddd; border: 1px solid #ddd;
border-radius: 5px; border-radius: 5px;
margin-bottom 80px
.handle-box { .handle-box {
margin-bottom: 20px; margin-bottom: 20px;