Announcing Dash Bio 1.0.0 🎉 : a one-stop-shop for bioinformatics and drug development visualizations.

Change text size of dbc tooltip?

I want to make the text in my tooltip bigger. By default it’s pretty small which is hard to read. Is there any way to do this?

Thanks in advance.

A lot of Dash-Bootstrap-Components are restricted by its max-width, so simply change its style:

dbc.Tooltip(
‘This is a big tooltip!’,
target = ‘tooltip_target’,
style = {
‘font-size’: 50,
‘maxWidth’: 600,
‘width’: 600
}
)

1 Like