html,body,#root{ width: 100%; height: 100%; } .ant-layout { height: 100%; } .ant-layout-header { background: none; padding: 0 10px; height: 40px; line-height: 40px; border-width: 1px 0; border-style: solid; border-color: #CCCCCC; } .ant-layout-content { flex: 1; } .ant-layout-sider { background: none; border-width: 0 1px 0 1px; border-style: solid; border-color: #CCCCCC; } .ant-tabs { height: 100%; } .ant-tabs-bar { margin: 0; }