Open Cito opened 3 years ago
My toast icon is now overrun with no space blocks of text however you can actually close the toast.
''' .p-toast .p-toast-message { width: 19rem; } '''
for the record my overall toast is 25rem; so I just played with numbers until the closed stay.
Hi,
So sorry for the delayed response! Improvements have been made to many components recently, both in terms of performance and enhancement. Therefore, this improvement may have been developed in another issue ticket without realizing it. You can check this in the documentation. If there is no improvement on this, can you reopen the issue so we can include it in our roadmap? Please don't forget to add your feedback as a comment after reopening the issue. These will be taken into account by us and will contribute to the development of this feature. Thanks a lot for your understanding!
Best Regards,
@cetincakiroglu Not solved yet.
Still an issue on 16.1.0: https://stackblitz.com/edit/5xhmjp?file=src%2Fapp%2Fdemo%2Ftoast-basic-demo.ts
I'm submitting a ... (check one with "x")
StackBlitz demo https://stackblitz.com/edit/primeng-messages-demo
Current behavior The close button of inline messages and toast messages appears horizontally squeezed when the detail text does not fit into one line.
Expected behavior The shape and size of the close button should always be the same no matter what the content of the mesage is.
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior? Alerts should not look ugly and close buttons should be easy to hit with the mouse.
Please tell us about your environment:
Suggested solution
In the
theme.css
files, the following should be changed: