Skip to content

Commit

Permalink
chore: Fix spacing in sidebar with the content
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jun 15, 2020
1 parent a50ddf2 commit e80dd1d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/components/Layout.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
min-height: 100vh;
display: grid;
grid-template-columns: auto minmax(0, 1fr);
grid-gap: 1rem;
max-width: 1200px;
margin: 0 auto;
}
4 changes: 1 addition & 3 deletions src/components/Sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ const renderNav = (page, index) => (

const Sidebar = ({ className, pages, isOpen, toggle }) => (
<aside className={cx(styles.sidebar, className, { [styles.isOpen]: isOpen })}>
<h1 className={styles.title}>
<Link to="/" className={styles.logo} />
</h1>
<Link to="/" className={styles.logo} />
<div className={styles.top}>
<h3>Pages</h3>
<button
Expand Down
2 changes: 0 additions & 2 deletions src/components/Sidebar.module.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
.sidebar {
padding: 1rem;

ul {
margin: 0;
padding-left: 1rem;
Expand Down

0 comments on commit e80dd1d

Please sign in to comment.