Skip to content

Commit 1b68878

Browse files
committed
Modify sidebar dimensions to be symmetrical
1 parent 63f3e74 commit 1b68878

3 files changed

Lines changed: 9 additions & 8 deletions

File tree

app/components/Settings.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
import React from 'React';
22

3+
// Need to add flag to turn off the splash at start
4+
// Need to add flag to turn off getting started page
5+
// Need to add flag to turn on/off live data (ideally persist on restart)
6+
// Need to add dark mode
37
const Settings: React.FC = () => {
48
return <div className="home">Hello this is the Settings</div>;
59
};

app/containers/SidebarContainer.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ const SidebarContainer: React.FC = (): JSX.Element => (
3030
<div className="sidebar">
3131
<img alt="Chronos Logo" id="serviceDashLogo" src={'../assets/icon2Cropped.png'} />
3232
<img alt="Chronos Logo Mini" id="miniLogo" src={'../assets/pangolin.png'} />
33-
<br />
34-
<br />
35-
<br />
3633
<Link className="sidebar-link" to="/" id="home">
3734
<HomeSharpIcon style={{ boxShadow: 'none', width: '40px', height: '40px' }} />
3835
&emsp;Home

app/stylesheets/SidebarContainer.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
margin-right: 30px;
2121
} */
2222
.sidebar-container:hover {
23-
width: 200px;
23+
width: 210px;
2424
}
2525
.sidebar-container:hover .sidebar-link {
2626
width: 150px;
@@ -55,7 +55,7 @@
5555
#miniLogo {
5656
position: absolute;
5757
animation: twirl 20s infinite linear;
58-
left: 7px;
58+
left: 12px;
5959
top: 35px;
6060
height: 75px;
6161
width: 75px;
@@ -74,14 +74,14 @@
7474
transition: 900ms;
7575
}
7676

77-
.container img {
78-
margin-bottom: 1px;
77+
.sidebar img {
78+
margin-bottom: 100px;
7979
}
8080

8181
.sidebar-link {
8282
overflow: hidden;
8383
z-index: 1;
84-
margin: 5px 0;
84+
margin: 5px 5px;
8585
padding: 1px 5px;
8686
display: flex;
8787
align-items: center;

0 commit comments

Comments
 (0)