Przeglądaj źródła

app宽度为100%,但宽度最小改为1440px

wdq 3 tygodni temu
rodzic
commit
42a9d9a675
3 zmienionych plików z 4 dodań i 3 usunięć
  1. 2 1
      src/App.vue
  2. 1 1
      src/components/AppVue/Header.vue
  3. 1 1
      src/views/Sksjgl.vue

+ 2 - 1
src/App.vue

@@ -174,7 +174,8 @@ html {
 }
 
 #app {
-  width: 1920px;
+  width: 100%;
+  min-width: 1440px;
   height: 100%;
   position: fixed;
   left: 50%;

+ 1 - 1
src/components/AppVue/Header.vue

@@ -64,7 +64,7 @@ export default {
 
 <style lang="less" scoped>
 #header {
-  width: 1920px;
+  width: 100%;
   height: 70px;
   background: linear-gradient(180deg, #2c2f74, #494d98);
   color: #ffffff;

+ 1 - 1
src/views/Sksjgl.vue

@@ -136,7 +136,7 @@ export default {
 
 <style lang="less" scoped>
 .container {
-    width: 1920px;
+    width: 100%;
     margin: 0 auto;
 
     .server_title {