Skip to content

Commit

Permalink
docs page: side navbar minor issues fixed (appsody#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bazif-Khan authored and tomleah committed Jun 25, 2019
1 parent 24a4821 commit fb19cf9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/docSidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ const DocSection = (props) => {
{
(props.title !== "null") ? <h4>{props.title}</h4> : null
}
<ul className="navbar-nav">
<ul>
{
props.data.map(doc => <li className="nav-link"><Link to={doc.path}>{doc.title}</Link></li>)
props.data.map(doc => <li className="my-1"><Link to={doc.path}>{doc.title}</Link></li>)
}
</ul>
</React.Fragment>
Expand Down Expand Up @@ -41,7 +41,7 @@ const DocSidebar = ({ data }) => {
}

return (
<nav className="navbar-expand-md navbar-light" id="docs-sidebar">
<nav className="navbar-expand-md navbar-light border-bottom" id="docs-sidebar">
<button className="navbar-toggler float-right" type="button" data-toggle="collapse" data-target="#collapsingSideNavbar">
<span className="navbar-toggler-icon"></span>
</button>
Expand Down
1 change: 1 addition & 0 deletions src/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ section.landing-section h2 {
position: static;
grid-row-start: 1;
grid-row-end: 2;
background-color: white;
}
}
footer {
Expand Down

0 comments on commit fb19cf9

Please sign in to comment.