I’m trying to change the height of dropdown components that are grouped together. I searched the forum and found this post: Dcc.dropdown change height, but I’m still having issues: The dropdowns are not changing, rather they are just getting overlapped.
It looks like the div.Select-value attribute is overriding the text position. I don’t see this in any of my css sheets so I can only guess that this is part of the react rendering.
Also wanted to put my solution, because adding ‘inline-block’ to the style component of the dcc.dropdown did change the height too, but the cross and the arrow disappeared , I ended up using display : flex and the next styling components to show everything, hope it helps too!
This was the best option for my issue as well.
For example:
dcc.Dropdown(id = 'phenotype-dropdown',
placeholder = "Select a phenotype of interest",
options = [{"label" : str(i),
"value" : str(i)} for i in phenotypes],
optionHeight = 75)