fix: style bug

This commit is contained in:
xiaoxian521 2021-04-06 11:15:21 +08:00
parent b76e199b6d
commit 485df5eb2f
2 changed files with 7 additions and 1 deletions

View File

@ -30,6 +30,7 @@ export default defineComponent({
.app-main { .app-main {
min-height: calc(100vh - 70px); min-height: calc(100vh - 70px);
width: 100%; width: 100%;
height: 100vh;
position: relative; position: relative;
overflow-x: hidden; overflow-x: hidden;
} }

View File

@ -29,7 +29,7 @@ html {
#app { #app {
width: 100%; width: 100%;
height: 100%; height: 100%;
overflow-x: hidden; overflow: hidden;
} }
*, *,
@ -77,6 +77,11 @@ ul {
padding: 20px; padding: 20px;
} }
// 隐藏滚动条
// .element::-webkit-scrollbar { width: 0 !important } //webkit
// .element { -ms-overflow-style: none; } //IE 10+
// .element { overflow: -moz-scrollbars-none; } //Firefox
.login, .login,
.register { .register {
width: 100%; width: 100%;