This is not the best approach and also it breaks when we inject script because it creates a new div with the entire available space at the bottom of the website.
Keep in mind, that the h-screen has been added for responsiveness of the dashboard inside popup.html, so the dashboard always takes up the entire available space.
📚 Summary
In the render function, we have added a class
h-screen
for always taking the full available height. 👇 https://github.com/MuhametSmaili/note-it/blob/76091d025277078fb99c28c073f31ea511efe040/src/utils/render.ts#L4This is not the best approach and also it breaks when we
inject script
because it creates a new div with the entire available space at the bottom of the website.