Skip to content

Commit

Permalink
#14 Add style to form
Browse files Browse the repository at this point in the history
  • Loading branch information
SandraBergstrom committed Jun 22, 2023
1 parent 8b04ca4 commit 8817103
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 11 deletions.
4 changes: 2 additions & 2 deletions src/pages/posts/PostCreateForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ function PostCreateForm() {

return (
<Form>
<Row>
<Col className="py-2 p-0 p-md-2" md={7} lg={8}>
<Row className={styles.Row}>
<Col className="py-5 p-0 p-md-2" md={7} lg={8}>
<Container
className={`${appStyles.Content} ${styles.Container} d-flex flex-column justify-content-center`}
>
Expand Down
23 changes: 14 additions & 9 deletions src/styles/PostCreateEditForm.module.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
.Row {
display: flex;
align-items: center;
}

.Container {
min-height: 343px;
}
min-height: 343px;
}

.FormControl:focus {
color: #0a3057;
background-color: #fff;
border-color: #fe8695;
outline: 0;
box-shadow: 0 0 0 0.25rem rgba(253, 13, 221, 0.25);
}
.FormControl:focus {
color: #0a3057;
background-color: #fff;
border-color: #fe8695;
outline: 0;
box-shadow: 0 0 0 0.25rem rgba(253, 13, 221, 0.25);
}

0 comments on commit 8817103

Please sign in to comment.