修复移动端100vh兼容性

This commit is contained in:
whyour
2021-05-11 19:37:37 +08:00
parent d9db5442d3
commit 49a3662788
12 changed files with 45 additions and 40 deletions
+1 -4
View File
@@ -49,7 +49,7 @@ const Config = () => {
return (
<PageContainer
className="code-mirror-wrapper"
className="ql-container-wrapper"
title="config.sh"
extra={[
<Button key="1" type="primary" onClick={updateConfig}>
@@ -68,9 +68,6 @@ const Config = () => {
marginLeft,
},
}}
style={{
height: '100vh',
}}
>
<CodeMirror
value={value}