.bigbox{ width: 100%; height: 100%; background: #F4F5F9; display: flex; flex-direction: column; overflow: hidden; .title{ width: 100%; height: 0.585938rem; } .content{ flex: 1; overflow: hidden; .cardbox{ margin: 0 auto; margin-top:0.195313rem; background-color: #fff; border-radius: 0.048828rem; width:100%; height: 100%; } } } .mat-tab-body-wrapper { height: 100%; overflow: hidden; }