Skip to content

Commit

Permalink
Adjust margin of some components
Browse files Browse the repository at this point in the history
  • Loading branch information
riggraz committed Jan 5, 2020
1 parent d071266 commit 84aa30d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/javascript/components/Board/NewPost.tsx
Expand Up @@ -144,7 +144,7 @@ class NewPost extends React.Component<Props, State> {
} = this.state;

return (

This comment has been minimized.

Copy link
@Abdullah-js

Abdullah-js Jul 5, 2020

cfc

<div className="newBoardContainer sidebarCard">
<div className="newPostContainer sidebarCard">
<span className="boardTitle">{board.name}</span>
<p><MutedText>{board.description}</MutedText></p>
{
Expand Down
6 changes: 5 additions & 1 deletion app/javascript/stylesheets/components/Board.scss
Expand Up @@ -17,14 +17,18 @@
.postList { width: 100%; }
}

.newBoardContainer {
.newPostContainer {
background-color: $astuto-grey;
text-align: center;

.boardTitle {
font-size: 25px;
font-weight: 600;
}

.newPostForm {
@extend .my-2;
}
}

.postStatusListItemContainer {
Expand Down
3 changes: 2 additions & 1 deletion app/javascript/stylesheets/components/Post.scss
Expand Up @@ -76,7 +76,8 @@
@extend
.card,
.flex-grow-1,
.p-3;
.p-3,
.mb-3;

.postInfo {
@extend .d-flex;
Expand Down
2 changes: 1 addition & 1 deletion app/javascript/stylesheets/general/_components.scss
Expand Up @@ -29,7 +29,7 @@ a {

.sidebar {
position: sticky;
top: 60px;
top: 79px;

.sidebarCard {
@extend
Expand Down

0 comments on commit 84aa30d

Please sign in to comment.