mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 23:06:06 +08:00
修复侧边栏样式
This commit is contained in:
parent
8f75a54110
commit
26c914d1db
|
@ -333,6 +333,7 @@ select:-webkit-autofill:focus {
|
||||||
|
|
||||||
.ant-pro-sider-logo {
|
.ant-pro-sider-logo {
|
||||||
.title {
|
.title {
|
||||||
|
display: flex;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
margin: 0 5px;
|
margin: 0 5px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
@ -340,6 +341,11 @@ select:-webkit-autofill:focus {
|
||||||
line-height: 32px;
|
line-height: 32px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
animation: pro-layout-title-hide 0.3s;
|
animation: pro-layout-title-hide 0.3s;
|
||||||
|
|
||||||
|
a {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
|
@ -353,6 +359,10 @@ select:-webkit-autofill:focus {
|
||||||
// 移动端logo被拉伸
|
// 移动端logo被拉伸
|
||||||
width: auto !important;
|
width: auto !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ant-image {
|
||||||
|
display: inline-flex;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
|
@ -396,3 +406,15 @@ pre {
|
||||||
textarea.ant-input {
|
textarea.ant-input {
|
||||||
word-break: break-all;
|
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;
|
||||||
|
}
|
||||||
|
|
|
@ -283,33 +283,35 @@ export default function () {
|
||||||
logo={
|
logo={
|
||||||
<>
|
<>
|
||||||
<Image preview={false} src="https://qn.whyour.cn/logo.png" />
|
<Image preview={false} src="https://qn.whyour.cn/logo.png" />
|
||||||
<span className="title">青龙</span>
|
<div className="title">
|
||||||
<a
|
<span className="title">青龙</span>
|
||||||
href={systemInfo?.changeLogLink}
|
<a
|
||||||
target="_blank"
|
href={systemInfo?.changeLogLink}
|
||||||
rel="noopener noreferrer"
|
target="_blank"
|
||||||
onClick={(e) => {
|
rel="noopener noreferrer"
|
||||||
e.stopPropagation();
|
onClick={(e) => {
|
||||||
}}
|
e.stopPropagation();
|
||||||
>
|
}}
|
||||||
<Tooltip
|
|
||||||
title={systemInfo?.branch === 'develop' ? '开发版' : '正式版'}
|
|
||||||
>
|
>
|
||||||
<Badge size="small" dot={systemInfo?.branch === 'develop'}>
|
<Tooltip
|
||||||
<span
|
title={systemInfo?.branch === 'develop' ? '开发版' : '正式版'}
|
||||||
style={{
|
>
|
||||||
fontSize: isFirefox ? 9 : 12,
|
<Badge size="small" dot={systemInfo?.branch === 'develop'}>
|
||||||
color: '#666',
|
<span
|
||||||
marginLeft: 2,
|
style={{
|
||||||
zoom: isSafari ? 0.66 : 0.8,
|
fontSize: isFirefox ? 9 : 12,
|
||||||
letterSpacing: isQQBrowser ? -2 : 0,
|
color: '#666',
|
||||||
}}
|
marginLeft: 2,
|
||||||
>
|
zoom: isSafari ? 0.66 : 0.8,
|
||||||
v{systemInfo?.version}
|
letterSpacing: isQQBrowser ? -2 : 0,
|
||||||
</span>
|
}}
|
||||||
</Badge>
|
>
|
||||||
</Tooltip>
|
v{systemInfo?.version}
|
||||||
</a>
|
</span>
|
||||||
|
</Badge>
|
||||||
|
</Tooltip>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
title={false}
|
title={false}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user