Skip to content

Commit

Permalink
#21 Style comment form
Browse files Browse the repository at this point in the history
  • Loading branch information
SandraBergstrom committed Jun 27, 2023
1 parent 7607d02 commit 44f36e2
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion src/pages/comments/CommentCreateForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function CommentCreateForm(props) {
</InputGroup>
</Form.Group>
<button
className={`${styles.Button} btn d-block ml-auto`}
className={`${styles.Button} d-block ms-auto`}
disabled={!content.trim()}
type="submit"
>
Expand Down
38 changes: 19 additions & 19 deletions src/styles/CommentCreateEditForm.module.css
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
.Form {
border: none;
border-bottom: 2px #00d1ff solid;
}
.Button {
border: none;
background-color: #242a3d;
color: aliceblue;
border-radius: 100px;
padding: 4px 10px;
min-width: 75px;
margin: 5px;
}
.Button:hover {
cursor: pointer;
background-color: aliceblue;
color: #242a3d;
}
border: none;
border-bottom: 2px var(--clr-accent-pink) solid;
}

.Button {
border: none;
background-color: var(--clr-accent-pink);
color: white;
border-radius: 100px;
padding: 4px 10px;
min-width: 75px;
margin: 20px;
}

.Button:hover {
cursor: pointer;
background-color: var(--clr-accent-dark);
color: white;
}

0 comments on commit 44f36e2

Please sign in to comment.