Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: dark theme improvements
  • Loading branch information
Mayank0255 committed Jul 17, 2020
commit fae226354593f5d83b73dc38162e6d946bfd49f2
4 changes: 2 additions & 2 deletions client/src/components/SideBar/SideBar.styles.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.side-bar-container {
width: 164px;
flex-shrink: 0;
z-index: 1000;
z-index: 1;
box-shadow: 0 0 0 rgba(12,13,14,0.05);
transition: box-shadow ease-in-out .1s,transform ease-in-out .1s;
position: relative !important;
Expand Down Expand Up @@ -82,7 +82,7 @@

p {
font-weight: bold;
background: #3d3d3d;
background: #2d2d2d;
color: #f2f2f3;
border-right: 3px solid #f48024;
}
Expand Down
3 changes: 3 additions & 0 deletions client/src/components/right-sideBar/right-sideBar.styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
float: right;
width: 300px;
margin: 0 0 15px;
padding-left: 5px;
background-color: #3d3d3d;
height: 100%;

.s-sidebarwidget__yellow {
border-color: #675c37;
Expand Down
6 changes: 5 additions & 1 deletion client/src/pages/HomePage/HomePage.styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
}

#content {
padding: 24px 0 0 0;
padding: 0;
}

#mainbar {
padding-top: 14px;
}

.homepage {
Expand Down
6 changes: 3 additions & 3 deletions client/src/pages/Post/Post.component.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ const Post = ({ deletePost, deleteAnswer, addAnswer, deleteComment, addComment,
return loading || post === null ? <Fragment>Loading...</Fragment> : <Fragment>
<div className='page'>
<SideBar/>
<div className='post'>
<div className='main-entity'>
<div id="content">
<div id='mainbar' className='post'>
<div className='inner-content'>
<div className='question-header'>
<h1>{post.title}</h1>
Expand Down Expand Up @@ -317,8 +317,8 @@ const Post = ({ deletePost, deleteAnswer, addAnswer, deleteComment, addComment,
</div>
</div>
</div>
<RightSideBar/>
</div>
<RightSideBar/>
</div>
</Fragment>
};
Expand Down
Loading