Toast width does not adapt fully?

  • /attachments/1320131781164531773/1320131781453676574/image.png

    ssssadsadasd

    24 days ago

    When the content is long the toast does not adapt to the width.
    image.png
  • Chris Laupama

    24 days ago

    Set the toast width to ‘fit-content’ ensure that no parent element has a specific width either
  • /attachments/1320131781164531773/1320134206273224776/image.png

    ssssadsadasd

    24 days ago

    @Chris Laupama hmm not sure how can I set the width = fit-content. it has only three attributes and you cannot edit it since it is from a plugin
    image.png
  • Chris Laupama

    24 days ago

    Oh I see you’re using a component
  • Jacob Kofoed

    24 days ago

    I think the toast action lets you add a style object. You could try to set { “width: “fit-content} there 🤔

    Anyways, I’ll add a task to make the toast handle longer messages better in the future.

Stop scrolling. Start building.

toddle is a visual web app builder that rivals custom code — but accessible to your entire team!

Try toddle — it's free!

© Copyright 2024 toddle. All rights reserved.