#Browser Border - Removal
12 messages · Page 1 of 1 (latest)
🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord
🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in <id:customize>
✅ You can mark a message as the answer for your post with `Right click -> Apps -> Mark Solution`
(if you don't see the option, try refreshing Discord with Ctrl + R)
theres both my relevant files.
Just add margin: 0; to your root element
I do this on the <body> of my RootLayout component
i have that in global.css @viscid hinge
If you go to one of the pages with the border and inspect the CSS on <body> does it confirm that it has the margin: 0; attribute?
In the inspector tool you should be able to see where the 8px margin is being inherited from and track back. Alternatively, you could probably get by with putting !important after the margin: 0 attribute in your global.css file. This way is a little hacky and the !important attribute is generally considered bad practice but it's a quick fix for the short-term
fixed it ty!, for some reasosn important didnt work, so I just found out I could do npm normalize and that worked.
Nice! Glad you got it fixed. You should mark your last post as the answer for this post so others can see it's been solved if they're searching for a similar problem