New Tab Sizing

when creating a newtab, seeing that trying to max out the height and width of the newtab using height: 100vh, etc. still leaves gaps around the edges. There is also a scroll bar that appears. Wondering if there is a better way to size the newtab component to take over the whole screen.
Solution:
Ended up resolving this by just editing the window styles as such : useEffect(() => { document.body.style.margin = "0" document.body.style.overflow = "hidden" })...
Jump to solution
2 Replies
Arcane
Arcane•6mo ago
@aminoasad has reached level 1. GG!
Solution
aminoasad
aminoasad•6mo ago
Ended up resolving this by just editing the window styles as such : useEffect(() => { document.body.style.margin = "0" document.body.style.overflow = "hidden" }) a hacky way but resolved.
Want results from more Discord servers?
Add your server