mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-24 07:16:08 +08:00
修复内容区高度和logo样式
This commit is contained in:
parent
61bb6535fb
commit
a9f8b23a7a
|
@ -79,6 +79,5 @@ export default {
|
|||
fixSiderbar: true,
|
||||
contentWidth: 'Fixed',
|
||||
splitMenus: false,
|
||||
logo: 'https://z3.ax1x.com/2021/11/18/I7MpAe.png',
|
||||
siderWidth: 180,
|
||||
} as any;
|
||||
|
|
|
@ -152,8 +152,8 @@
|
|||
|
||||
.ant-layout-content.ant-pro-basicLayout-content.ant-pro-basicLayout-has-header {
|
||||
margin-bottom: 0 !important;
|
||||
min-height: calc(100vh - 66px);
|
||||
min-height: calc(100vh - var(--vh-offset, 0px) - 66px);
|
||||
min-height: calc(100vh - 72px);
|
||||
min-height: calc(100vh - var(--vh-offset, 0px) - 72px);
|
||||
}
|
||||
|
||||
.Resizer {
|
||||
|
@ -293,3 +293,14 @@
|
|||
color: #1890ff;
|
||||
}
|
||||
}
|
||||
|
||||
.ant-pro-sider-logo {
|
||||
padding: 16px 10px;
|
||||
h1 {
|
||||
margin-left: 5px;
|
||||
}
|
||||
img {
|
||||
width: 32px;
|
||||
border-radius: 52%;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ import './index.less';
|
|||
import vhCheck from 'vh-check';
|
||||
import { version, changeLogLink, changeLog } from '../version';
|
||||
import { useCtx, useTheme } from '@/utils/hooks';
|
||||
import { message, Badge, Modal, Avatar, Dropdown, Menu, Popover } from 'antd';
|
||||
import { message, Badge, Modal, Avatar, Dropdown, Menu, Image } from 'antd';
|
||||
// @ts-ignore
|
||||
import SockJS from 'sockjs-client';
|
||||
import * as Sentry from '@sentry/react';
|
||||
|
@ -232,6 +232,12 @@ export default function (props: any) {
|
|||
selectedKeys={[props.location.pathname]}
|
||||
loading={loading}
|
||||
ErrorBoundary={Sentry.ErrorBoundary}
|
||||
logo={
|
||||
<Image
|
||||
preview={false}
|
||||
src="https://z3.ax1x.com/2021/11/18/I7MpAe.png"
|
||||
/>
|
||||
}
|
||||
title={
|
||||
<>
|
||||
<span style={{ fontSize: 16 }}>控制面板</span>
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
}
|
||||
|
||||
.diff-switch-file {
|
||||
min-width: 768px;
|
||||
.ant-form-item {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user