Closed alamenai closed 4 months ago
After I Inspected the MultiSelected, I have found that I have to change the CSS classess hierarchy to be like this :
<MultiSelect
defaultValue={selectDefaultRoofs}
icon={InspectIcon}
className='[&>div]:h-12 [&>div>div>button]:h-12
[&>div>div>button>div>div>div]:bg-blue-900
[&>div>div>button>div>div>div]:border-slate-950
[&>div>div>button>div>div>div]:text-white
[&>div>div>button>div>div>div>div]:text-base
[&>div>div>button>div>div>div>div>svg]:stroke-white'
onValueChange={(values) => selectRoof(values)}
placeholder='Wählen Sie ein Dach aus'
placeholderSearch='Suchen'
>
{roofs?.map(({ roofId }) => (
<MultiSelectItem className='text-lg font-bold' key={roofId} value={roofId.toString()}>
{roofId.toString()}
</MultiSelectItem>
))}
</MultiSelect>
Tremor Version
3.11.0
Link to minimal reproduction
None
Steps to reproduce
What is expected?
It was like this ( And it's on production ):
What is actually happening?
I did not change anything but it became like this :
What browsers are you seeing the problem on?
Chrome, Firefox
Any additional comments?
This is the full code :