From 603432aa8768033e634b8cb4fe23f9006c353bc4 Mon Sep 17 00:00:00 2001 From: whyour Date: Mon, 6 Dec 2021 11:18:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dlogo=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/index.less | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/layouts/index.less b/src/layouts/index.less index a0958241..2362815e 100644 --- a/src/layouts/index.less +++ b/src/layouts/index.less @@ -295,12 +295,19 @@ } .ant-pro-sider-logo { - padding: 16px 10px; + padding: 16px 8px !important; h1 { - margin-left: 5px; + margin-left: 5px !important; } img { - width: 32px; - border-radius: 52%; + width: 32px !important; + border-radius: 52% !important; + } +} + +.ant-pro-global-header-logo { + a img { + // 移动端logo被拉伸 + width: auto !important; } }