Skip to content

Commit

Permalink
fix: make content right padding wider, remove border on nav, fix footer
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkmcadoo committed May 3, 2024
1 parent 865588f commit 353741b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/components/Layout/Sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ const Sidebar = ({ children, className }) => {
data-swiftype-index={false}
css={css`
grid-area: sidebar;
border-right: 1px solid var(--divider-color);
height: calc(100vh - var(--global-header-height));
position: sticky;
top: var(--global-header-height);
Expand Down
6 changes: 5 additions & 1 deletion src/layouts/MainLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,10 @@ const MainLayout = ({ children, pageContext }) => {
position: relative;
padding-top: 2.75rem;
@media (min-width: 1241px) {
padding-right: 1.5rem;
}
@media (min-width: 760px) {
${!sidebar &&
`padding-left: calc(var(--site-content-padding) + 50px);`}
Expand Down Expand Up @@ -280,7 +284,7 @@ const MainLayout = ({ children, pageContext }) => {
<Layout.Footer
fileRelativePath={pageContext.fileRelativePath}
css={css`
height: 60px;
height: 80px;
${!sidebar &&
css`
grid-column: 1/3;
Expand Down

0 comments on commit 353741b

Please sign in to comment.