<style> /*To modify the style of a tab, you must delete the scoped label after the style label*/ .el-tabs__item { font-size: 18px ! important; padding: 10px 0 50px ! important; width: 120px ! important; } .el-tabs__active-bar { width: 120px ! important; } </style>