.exercise-module{ height: 100%; display: flex; flex-direction: column; background: white; } .tab-box{ box-sizing: border-box; flex: 1 1 10px; height: 10px; } view.no-content{ display: flex; flex-direction: row; justify-content: center; } image.no-content{ width: 200rpx; height: 200rpx; } .exercise-item{ margin: 10px; }