Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Setting width of Toast (Dash Bootstrap Component)

$
0
0

@lil_ml wrote:

Hello,

I’m currently working on a Toast from Dash Bootstrap Component and I was wondering if you can increase the width of the Toast?

I’ve tried:

html.Div(
[
dbc.Toast(
table,
id=“positioned-toast”,
is_open=True,
dismissable=True,
fade=True,
# top: 66 positions the toast below the navbar
style={“position”: “absolute”, “bottom”: 100, “left”: 80, “height”:298,‘position-class’:‘toast-top-full-width’},
),
]

AND

html.Div(
[
dbc.Toast(
table,
id=“positioned-toast”,
is_open=True,
dismissable=True,
fade=True,
# top: 66 positions the toast below the navbar
style={“position”: “absolute”, “bottom”: 100, “left”: 80, “height”:298, “width”: 700},
),
]

But nothing seems to change…
Is there a limit on the Toast width? If so, please let me know.

Thank you!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6271

Latest Images

Trending Articles



Latest Images