From 0fe9d6072bf09cc6eb517a7799e709cce77e35e2 Mon Sep 17 00:00:00 2001 From: pany <939630029@qq.com> Date: Thu, 28 Nov 2024 11:32:28 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20dashboard=20=E9=A1=B5=E9=9D=A2=E5=8D=A0?= =?UTF-8?q?=E4=BD=8D=E5=9B=BE=E8=87=AA=E9=80=82=E5=BA=94=E5=AE=BD=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/dashboard/components/Admin.vue | 3 ++- src/pages/dashboard/components/Editor.vue | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pages/dashboard/components/Admin.vue b/src/pages/dashboard/components/Admin.vue index e23f507b..fca0c916 100644 --- a/src/pages/dashboard/components/Admin.vue +++ b/src/pages/dashboard/components/Admin.vue @@ -5,7 +5,7 @@ import SvgAdmin from "../images/admin.svg?component" // vite-svg-loader 插件 @@ -17,6 +17,7 @@ import SvgAdmin from "../images/admin.svg?component" // vite-svg-loader 插件 align-items: center; .svg { width: 600px; + max-width: 100%; } } diff --git a/src/pages/dashboard/components/Editor.vue b/src/pages/dashboard/components/Editor.vue index c1b75152..11da456a 100644 --- a/src/pages/dashboard/components/Editor.vue +++ b/src/pages/dashboard/components/Editor.vue @@ -5,7 +5,7 @@ import SvgEditor from "../images/editor.svg?component" // vite-svg-loader 插件 @@ -17,6 +17,7 @@ import SvgEditor from "../images/editor.svg?component" // vite-svg-loader 插件 align-items: center; .svg { width: 600px; + max-width: 100%; } }