Drop-down box operation
Size Width
Provided in the official website of the size selection box: [ size
] , it can control the overall size of which values are
- medium
- small
- mini
But for a more flexible height and width, it needs to set its own, the following two methods
1. style superlative select Settings
<el-select size="small" style="width: 150px;">
</el-select>
2. SCSS's / deep \ penetrate selector
/deep/ .el-select{
width: 150px;
}