Cogoport / cogo-toast

Beautiful, Zero Configuration, Toast Messages for React. Only ~ 4kb gzip, with styles and icons
https://cogoport.github.io/cogo-toast
MIT License
673 stars 2 forks source link

How to change the height of toast #8

Closed WuYufeng233 closed 5 years ago

WuYufeng233 commented 5 years ago

The height of toast(without heading) in your demo is 45px, but when I use it in my project, its height is more than 45px(without heading), maybe 65px, which is weird. It seems that it's not likely to custom the height of toast. Why does it happen and any solution to custom the height?

eugle commented 5 years ago

Same question

anmdotdev commented 5 years ago

Merged in #12

You can now extend the ct-toast class name and add your custom styling in v2.0.0.

Refer https://github.com/Cogoport/cogo-toast#custom-styling