Skip to content
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

I can't change the width #36

Open
aimranzailan opened this issue Sep 6, 2024 · 1 comment
Open

I can't change the width #36

aimranzailan opened this issue Sep 6, 2024 · 1 comment

Comments

@aimranzailan
Copy link

I can't change the width of the toast, is this how you do it?

Toast.error("student is clocked out.", 'width:300');

@Zrna
Copy link
Collaborator

Zrna commented Oct 10, 2024

Update the package version to 5.0.2 and you will be able to set auto as width in the ToastManager:

<ToastManager
  // other props
  width="auto"
/>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants