Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sidenav padding #1798

Merged
merged 2 commits into from
Nov 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ethereum-org-website",
"version": "2.10.0",
"version": "2.11.0",
"description": "Website of ethereum.org",
"main": "index.js",
"repository": "git@github.com:ethereum/ethereum-org-website.git",
Expand Down
2 changes: 1 addition & 1 deletion src/components/SideNav.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const IconContainer = styled(motion.div)`
const Nav = styled.nav`
position: sticky;
top: 7.25rem; /* account for navbar */
padding: 2rem 0;
padding: 2rem 0 4rem;
height: calc(100vh - 80px); /* TODO take footer into account for height? */
width: calc((100% - 1448px) / 2 + 298px);
min-width: 298px;
Expand Down