Browse Source

修复边距

lighter 2 năm trước cách đây
mục cha
commit
0b177613ed
2 tập tin đã thay đổi với 1 bổ sung5 xóa
  1. 1 1
      src/App.vue
  2. 0 4
      src/views/system/login.vue

+ 1 - 1
src/App.vue

@@ -123,7 +123,7 @@ body,
 
 .el-container {
   height: 100vh;
-  width: 100vw;
+  width: 100%;
   margin: 0;
   padding: 0;
 }

+ 0 - 4
src/views/system/login.vue

@@ -97,8 +97,6 @@ onActivated(() => {
 <style lang="scss" scoped>
 .container {
   position: relative;
-  width: 100vw;
-  height: 100vh;
   background-color: #eef0f3;
 
   .box {
@@ -162,8 +160,6 @@ onActivated(() => {
 
 @media screen and (max-width: 750px) {
   .container .box {
-    width: 100vw;
-    height: 100vh;
     box-shadow: none;
     left: 0;
     top: 0;