CSS Textwrap in dropdown component

Does anyone know the code for text wrap in a dropdown using css?

1 Like

span[class*="wire-dropdown___StyledSpan"] {
white-space: break-spaces;
}

Sorry, still not working

Can you show me how you’re setting it up? It works on my side.

Tbis is how I have it my program.

(attachments)

Please try turning off “Use compiled CSS” and turn on “Preview custom CSS”.

(attachments)

So you’re having the class name of that choice component as “xxxx”?

Shouls it be another name?

Asking because I didn’t have any custom class names in my original code, I thought you want to apply it to all choice components.

if there is no class name, how and where do I put the code?

You still put it here, but without “.xxxx”.

thank you for helping out. I got it to work

1 Like