mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-18 10:39:20 +08:00
修复移动端100vh兼容性
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
.d2h-files-diff {
|
||||
height: calc(100vh - 130px);
|
||||
overflow: auto;
|
||||
height: calc(100vh - 130px);
|
||||
height: calc(100vh - var(--vh-offset, 0px) - 130px);
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.d2h-code-side-linenumber {
|
||||
position: relative;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.d2h-code-side-line {
|
||||
padding: 0 0.5em;
|
||||
}
|
||||
padding: 0 0.5em;
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ const Crontab = () => {
|
||||
|
||||
return (
|
||||
<PageContainer
|
||||
className="code-mirror-wrapper"
|
||||
className="ql-container-wrapper"
|
||||
title="对比工具"
|
||||
loading={loading}
|
||||
header={{
|
||||
@@ -61,9 +61,6 @@ const Crontab = () => {
|
||||
marginLeft,
|
||||
},
|
||||
}}
|
||||
style={{
|
||||
height: '100vh',
|
||||
}}
|
||||
>
|
||||
<ReactDiffViewer
|
||||
styles={{
|
||||
|
||||
Reference in New Issue
Block a user