我有下一个组件:
<Select
mode="multiple"
placeholder="Inserted are removed"
value={selectedItems}
onChange={this.handleChange}
style={{ width: "100%" }}
>
{filteredOptions.map(item => (
<Select.Option key={item} value={item}>
{item}
</Select.Option>
))}
</Select>
.ant-select-item-option-content {
background-color: red;
}
.ant-select-item-option-active:not(.ant-select-item-option-disabled) {
height: 10px;
background-color: blue;
height: auto;
}
为什么 height:10px;不工作?以及如何为该选择器应用 10px 的高度?