diff --git a/src/layouts/index.less b/src/layouts/index.less index c9b22554..1a1010a5 100644 --- a/src/layouts/index.less +++ b/src/layouts/index.less @@ -333,6 +333,7 @@ select:-webkit-autofill:focus { .ant-pro-sider-logo { .title { + display: flex; height: 32px; margin: 0 5px; font-weight: 600; @@ -340,6 +341,11 @@ select:-webkit-autofill:focus { line-height: 32px; vertical-align: middle; animation: pro-layout-title-hide 0.3s; + + a { + display: inline-flex; + align-items: center; + } } img { @@ -353,6 +359,10 @@ select:-webkit-autofill:focus { // 移动端logo被拉伸 width: auto !important; } + + .ant-image { + display: inline-flex; + } } pre { @@ -396,3 +406,15 @@ pre { textarea.ant-input { word-break: break-all; } + +.ant-pro-sider-collapsed, +body[data-mode='phone'] header { + .title { + display: none; + } +} + +.ant-pro-sider.ant-layout-sider.ant-pro-sider-fixed { + box-shadow: none; + border-right: 1px solid #eee; +} diff --git a/src/layouts/index.tsx b/src/layouts/index.tsx index 90e47c61..3ab72310 100644 --- a/src/layouts/index.tsx +++ b/src/layouts/index.tsx @@ -283,33 +283,35 @@ export default function () { logo={ <> - 青龙 - { - e.stopPropagation(); - }} - > - + 青龙 + { + e.stopPropagation(); + }} > - - - v{systemInfo?.version} - - - - + + + + v{systemInfo?.version} + + + + + } title={false}