Browse Source

修改样式

lex 8 months ago
parent
commit
420b38b15a
2 changed files with 8 additions and 4 deletions
  1. 6 2
      src/index.scss
  2. 2 2
      src/style.css

+ 6 - 2
src/index.scss

@@ -434,6 +434,7 @@
   display: flex;
   display: flex;
   flex-direction: column;
   flex-direction: column;
   width: 100%;
   width: 100%;
+  min-height: 100vh;
   background-size: contain;
   background-size: contain;
 
 
   &-header {
   &-header {
@@ -623,7 +624,8 @@
       flex: 1;
       flex: 1;
       box-sizing: border-box;
       box-sizing: border-box;
       height: 100%;
       height: 100%;
-      min-width: 968Px;
+      // min-width: 968Px;
+      width: 100%;
       display: flex;
       display: flex;
       justify-content: center;
       justify-content: center;
       align-items: center;
       align-items: center;
@@ -635,7 +637,8 @@
     height: 100%;
     height: 100%;
     overflow: hidden;
     overflow: hidden;
     box-sizing: border-box;
     box-sizing: border-box;
-    min-height: 640Px;
+    // min-height: 640Px;
+    height: 100%;
     flex: 1;
     flex: 1;
     border-radius: 12Px;
     border-radius: 12Px;
     display: flex;
     display: flex;
@@ -728,6 +731,7 @@
     &-main {
     &-main {
       flex: 1;
       flex: 1;
       display: flex;
       display: flex;
+      min-height: 100vh;
 
 
       .conversation {
       .conversation {
         min-width: 300Px;
         min-width: 300Px;

+ 2 - 2
src/style.css

@@ -25,8 +25,8 @@ a:hover {
 
 
 body {
 body {
   margin: 0;
   margin: 0;
-  display: flex;
-  place-items: center;
+  /* display: flex;
+  place-items: center; */
   min-width: 320px;
   min-width: 320px;
   min-height: 100vh;
   min-height: 100vh;
 }
 }