:global { .workflow-designer { height: 100%; &-container { height: calc(100vh - 170px); background: #fff; border-radius: 2px; } &-sider { background: #fff; border-right: 1px solid #f0f0f0; } &-content { position: relative; height: 100%; padding: 16px; background: #fafafa; } &-graph { height: 100%; background: #fff; border: 1px solid #f0f0f0; border-radius: 2px; } &-minimap { position: absolute; right: 24px; bottom: 24px; width: 200px; height: 150px; background-color: #fff; border: 1px solid #f0f0f0; border-radius: 4px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); } } .ant-card-body { height: calc(100% - 57px); padding: 0; } .ant-layout { height: 100%; background: #fff; } }