-
-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Close button is showing along with text #90
Comments
@Sandip124 Can you share the toastify config for this toast? |
I have same issue as in the screenshot above. With following config
|
I had this issue too so I positioned the close icon absolute to it's toast container. .toast-close {
position: absolute;
top: 0;
right: 0;
padding: 0;
background-color: $white;
line-height: 1;
opacity: 1;
} It would be nice to have an option to position the close icon absolutely, with options like below: Toastify({
closePosition: "top right" // `top left`, `bottom left`, `bottom right`
}).showToast() |
@cyonii that would be a nice addition also all theming and option cannot be directly implemented in a core library. |
the close icon should be sticked to the right side according to the position , otherwise it is very difficult to find th close button when having long text of exception.
The text was updated successfully, but these errors were encountered: