.container { height: calc(100vh - 180px); border: 1px solid #f0f0f0; border-radius: 2px; background: #fff; .sider { border-right: 1px solid #f0f0f0; background: #fff; .nodePanel { padding: 16px; height: 100%; overflow-y: auto; } } .content { position: relative; background: #fafafa; .graph { position: absolute; top: 0; right: 0; bottom: 0; left: 0; } } }