react中在Antd3.x版本中 Select框在单选时 选中框的高度调整
当前页面样式:
会自动折叠并且显示...
需要达到效果:

直接贴代码:
.ZRJcssCoreItems {:global {.ant-select-selection--single .ant-select-selection__rendered {height: 94px;}/* 强制显示完整文本 */.ant-select-selection-selected-value {white-space: normal !important;word-wrap: break-word !important;height: auto !important;line-height: 1.5 !important;}/* 调整整体选择框样式 */.ant-select-selection--single {height: auto !important;min-height: 32px !important;padding-bottom: 4px !important;}}
}