There's a notification bar at the bottom of my page that lets the user know when their email has been sent.
This bar is generated using useContext in React/Next.js. To see the code, check out this Codebox link:
However, I've noticed there is some white space at the bottom of the page near the navigation bar:
https://i.sstatic.net/RBhor.png
Upon further inspection, I realized that the blank space is due to the notification bar appearing like this when an email is sent:
https://i.sstatic.net/FGgva.png
Here's how it looks on the browser:
https://i.sstatic.net/soVE3.png
Any suggestions on how to remove the white space? I've attempted using CSS without success so far.