:global{ #tab-bar{ background-color: #f0f0f0; } #tab-bar .demoName { font-size: 16px; font-weight: bold; height: 40px; line-height: 40px; text-align: center; } #tab-bar .demo-preview-item .am-tab-bar { //background-color: red; } } #tab-bar.demo { //height: 100%; //display: flex; //flex-direction: column; } .demoContainer{ height: 100%; } .newContainer{ height: calc(100vh - 84px); }