.currenTableFlex{ height: 100%; display: flex; flex-direction: column; .flexTable{ height: 100%; } .headerButtons{ text-align: center; margin-bottom: 20px; } }