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

Long text creates curve? #137

Open
iwasherefirst2 opened this issue Jan 12, 2024 · 1 comment
Open

Long text creates curve? #137

iwasherefirst2 opened this issue Jan 12, 2024 · 1 comment

Comments

@iwasherefirst2
Copy link

When I run notyf.error(..) with a very long message, then the text on the bottom is hard to read. Can I disable the curvy thing?

image

@juliyvchirkov
Copy link

@iwasherefirst2 disable ripple to get rid of a curve

notyf.error({
    message : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. In dictum gravida nisl sit amet commodo. Etiam cursus sodales tincidunt. Praesent et libero at elit vehicula auctor. Etiam vestibulum dolor eu ipsum efficitur mattis. Curabitur elementum pretium mauris, id viverra ante. Sed eros tortor, rhoncus in lobortis sit amet, varius id dolor. Duis malesuada ante nec augue volutpat, vitae pretium dui maximus. In hac habitasse platea dictumst. Integer at tristique dui, a facilisis neque.',
    ripple : false
})

or

const notyf = new Notyf({ ripple : false })

to disable it globally

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