From d14d1ee9b8ad66e5ae9ba8f474d98b54b62f6f25 Mon Sep 17 00:00:00 2001 From: chenghongxing <1126263215@qq.com> Date: Sat, 26 Sep 2020 15:40:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20the=20setting=20of=20fixed=20width=20do?= =?UTF-8?q?=20not=20effect=20in=20some=20page;=20:bug:=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=EF=BC=9A=E9=83=A8=E5=88=86=E9=A1=B5=E9=9D=A2=E5=9B=BA?= =?UTF-8?q?=E5=AE=9A=E5=AE=BD=E5=BA=A6=E8=AE=BE=E7=BD=AE=E4=B8=8D=E7=94=9F?= =?UTF-8?q?=E6=95=88=E7=9A=84bug;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/AdminLayout.vue | 1 + src/layouts/tabs/TabsView.vue | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/layouts/AdminLayout.vue b/src/layouts/AdminLayout.vue index a955696..2cee78f 100644 --- a/src/layouts/AdminLayout.vue +++ b/src/layouts/AdminLayout.vue @@ -135,6 +135,7 @@ export default { } .admin-layout-content{ padding: 24px 24px 0; + overflow-x: hidden; min-height: calc(100vh - 64px - 122px); } .setting{ diff --git a/src/layouts/tabs/TabsView.vue b/src/layouts/tabs/TabsView.vue index 026f270..13342b3 100644 --- a/src/layouts/tabs/TabsView.vue +++ b/src/layouts/tabs/TabsView.vue @@ -15,7 +15,7 @@ {{pageName(page)}} -
+
@@ -214,5 +214,9 @@ function getPageKey (target, depth = 0) { } .tabs-view-content{ position: relative; + &.head.fixed{ + width: 1400px; + margin: 0 auto; + } }