I need my ANTD title/selected item to be on a separate row and adjust the height of the Select component.
Here is the example I have been working on: https://codesandbox.io/s/basic-usage-antd-4-24-7-forked-8jzp29?file=/demo.js
These are the specific styles I want to target:
.ant-select-item-option-content {
white-space: break-spaces;
word-break: break-word;
}
.ant-select-show-search.ant-select:not(.ant-select-customize-input)
.ant-select-selector {
height: auto;
}
.ant-select-single.ant-select-show-arrow .ant-select-selection-item {
white-space: normal;
word-break: break-all;
}
How can I select those elements when using CSS modules?
I tried adding a class to the dropdown using the ANTD Select API
popupClassName="_dropdown"
, but since it only accepts strings, it gets ignored when using CSS modules.