.box { height: 100%; overflow: auto; } .header { width: 100%; box-sizing: border-box; padding: 20px 30px 8px 30px; .queryBox { display: flex; flex-wrap: wrap; align-items: center; .queryField { display: flex; align-items: center; margin-right: 20px; span { display: inline-block; width: 80px; } } .btnbox { button { margin-right: 12px; } } } } .tablebox { table { width: 100%; margin-top: 15px; } mat-paginator { width: 100%; } } .mat-header-cell, .mat-cell { text-align: center; } .operate { span { color: #40a9ff; cursor: pointer; } }