Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
React <Route> has mysterious right margin - Kevin Powell - Community
KP-C
Kevin Powell - Community
•
3y ago
thethingisback
React <Route> has mysterious right margin
GitHub
:
https://github.com/nnall/GoWithGig-Nick.git
App
.js
(showing Routes
)
:
https://github.com/nnall/GoWithGig-Nick/blob/main/src/App.js
My
"Home
" Route
:
https://github.com/nnall/GoWithGig-Nick/blob/main/src/frontend/home.js
I
'm trying to figure out what could be causing a right margin on a
<Route
> component I have
GitHub
GitHub - nnall/GoWithGig-Nick
Contribute to nnall
/GoWithGig
-Nick development by creating an account on GitHub
.
GitHub
GoWithGig-Nick/src/App.js at main · nnall/GoWithGig-Nick
Contribute to nnall
/GoWithGig
-Nick development by creating an account on GitHub
.
GitHub
GoWithGig-Nick/src/frontend/home.js at main · nnall/GoWithGig-Nick
Contribute to nnall
/GoWithGig
-Nick development by creating an account on GitHub
.
Kevin Powell - Community
Join
A friendly place for developers to meet other devs, ask questions, get help, and just have a good time 🙂.
36,263
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Mysterious right margin on <body>
KP-C
Kevin Powell - Community / front-end
3y ago
Why margin right isn't working as expected?
KP-C
Kevin Powell - Community / front-end
2y ago
Scroll-margin-top: Why overflow hidden has an impact
KP-C
Kevin Powell - Community / front-end
3y ago