React-toastify: Position centered toasts shifting towards the right in mobile screens

Created on 17 Mar 2018  路  2Comments  路  Source: fkhadra/react-toastify

after the latest update, the position centered toasts seems to have shifted to the right, probably due to overriding of the margins (margin-left: -160px gets overridden by margin: 0 with media query). better use transform: translateX(-50%); instead

bug

All 2 comments

Indeed the bug was introduced because of my laziness

The fix is live

Was this page helpful?
0 / 5 - 0 ratings