Black Lives Matter. Please consider donating to Black Girls Code today.

Button Name Line break

Hey community :slight_smile: I have two questions:
1.) How can i force a buttons name to be one line if its too long, so like overflow in x direction.

I tried something like setting the size to small and giving it a overflow style property. But it didnt work:


dbc.Button(info,id=pre+info,style={'overflow':'hidden'},size='sm')

2.) Furthermore i want to have a dbc.Tooltip with line breaks. ā€œ\nā€ and :
. didnt work for me. How can I achieve this?

dbc.Tooltip('Blub1:{}<br />Blub2:<br />Blub3:'.format(str(maxFiles)),
                            target=pre+info,placement="left-start"
                        ),

It also seems that my app stuck if i try to change the placement. Its always on the right side, no matter what i writing to placement.