shopware/meteor

[Bug]: MtToast message is too short

Closed this issue · 1 comments

Package

@meteor/component-library

Package version

3.6.0

Link to minimal reproduction

https://meteor-component-library.vercel.app/?path=/story/components-feedback-indicator-mt-toast--default

Steps to reproduce

Show a toast with content of more than 5 words like:

The store is currently unavailable

image

Actual behavior

The text only displays 1 line and shows an ellipsis ...

Expected behavior

Display a message with a maximum of 3 lines. If it is longer than 3 lines, the text will be cut off.

System Info

No response

Any additional comments?

Expectations sample:
image

Code of Conduct

It's actually intended to only use short texts. You could try to re-phrase the content of the toast so it fits into the toast notification.