Skip to content

Commit

Permalink
sidebar: simplify tnoodle icon markup
Browse files Browse the repository at this point in the history
  • Loading branch information
JonEsparaz committed Dec 24, 2020
1 parent bb30470 commit 24a804e
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions tnoodle-ui/src/main/components/SideBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,9 @@ const SideBar = connect(
render() {
return (
<div className="h-100 pb-2">
<div className="d-lg-none d-flex align-items-center pt-2 overflow-hidden">
<div className="d-flex flex-lg-column align-items-center overflow-hidden">
<img
className="tnoodle-logo mt-2"
src={require("../assets/tnoodle_logo.svg")}
alt="TNoodle logo"
/>
Expand All @@ -361,7 +362,7 @@ const SideBar = connect(
</h1>
<button
type="button"
className="btn btn-primary btn-lg btn-outline-light ml-auto"
className="btn btn-primary btn-lg btn-outline-light ml-auto d-lg-none"
onClick={() =>
this.setState({ isOpen: !this.state.isOpen })
}
Expand All @@ -386,17 +387,7 @@ const SideBar = connect(
</button>
</div>
<Collapse in={this.state.isOpen}>
<div className="pt-2" id="sidebar-buttons">
<div className="d-none d-lg-block">
<img
className="tnoodle-logo mt-2"
src={require("../assets/tnoodle_logo.svg")}
alt="TNoodle logo"
/>
<h1 className="display-3" id="title">
TNoodle
</h1>
</div>
<div className="pt-2">
<div>
<ul className="list-group">
<li>
Expand Down

0 comments on commit 24a804e

Please sign in to comment.