diff --git a/src/layouts/index.less b/src/layouts/index.less index 93a5acbb..fe1376f2 100644 --- a/src/layouts/index.less +++ b/src/layouts/index.less @@ -8,8 +8,8 @@ body { .code-mirror-wrapper .CodeMirror { position: absolute; - height: calc(100% - 64px); - width: 100%; + height: calc(100vh - 176px); + width: calc(100% - 32px); } .ant-pro-grid-content.wide {