From bc030c84d4565756d212dea7a3f714383bc64d83 Mon Sep 17 00:00:00 2001 From: 1zumii <524123601@qq.com> Date: Thu, 22 Feb 2024 14:42:55 +0800 Subject: [PATCH] =?UTF-8?q?feat(plugin-layout):=20=E8=B0=83=E6=95=B4=20lay?= =?UTF-8?q?out:=20aside=20=E7=9A=84=20logo=20=E5=B8=83=E5=B1=80=20(#230)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fes-plugin-layout/src/runtime/views/BaseLayout.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/fes-plugin-layout/src/runtime/views/BaseLayout.vue b/packages/fes-plugin-layout/src/runtime/views/BaseLayout.vue index 13898255..58c6a3e3 100644 --- a/packages/fes-plugin-layout/src/runtime/views/BaseLayout.vue +++ b/packages/fes-plugin-layout/src/runtime/views/BaseLayout.vue @@ -347,21 +347,22 @@ export default { z-index: 1; box-shadow: 2px 0 8px 0 rgba(29, 35, 41, 5%); .layout-logo { - height: 32px; margin: 16px; display: flex; + flex-direction: column; justify-content: flex-start; - align-items: center; .logo-img { height: 36px; width: auto; + object-fit: contain; } .logo-name { overflow: hidden; - margin: 0 0 0 12px; + margin: 12px 0 0 0; font-weight: 600; font-size: 18px; line-height: 32px; + text-align: center; } } .layout-menu {