.editor { display: flex; flex: 1; flex-direction: column; width: 100%; height: 100%; background: #fff; position: relative; border: 1px solid #e6e9ed; .saveDate{ position: absolute; top: 6px; left: 94%; } .inputValue{ width:400px; position: absolute; top: 6px; left: 45%; } } .editorHd { padding: 8px; border: 1px solid #e6e9ed; } .editorBd { flex: 1; } .editorSidebar, .editorContent { display: flex; flex-direction: column; } .editorSidebar { background: #fafafa; &:first-child { border-right: 1px solid #e6e9ed; } &:last-child { border-left: 1px solid #e6e9ed; } } .ant-collapse-content > .ant-collapse-content-box { padding: 0px !important; } .flow { flex: 1; // https://github.com/philipwalton/flexbugs/issues/197#issuecomment-378908438 height: 0; z-index: 2; }