Skip to content

Commit

Permalink
Update: textarea and select height
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaytonSiby committed Oct 12, 2023
1 parent 067ba89 commit f597d25
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/assets/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,9 @@
align-items: center;
height: calc(85vh - 2.5rem);
}

#floatingTextarea,
#inlineFormSelectPref {
min-height: 8rem;
}
}
2 changes: 1 addition & 1 deletion src/components/BookCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const BookCard: React.FC<BookProps> = ({
}

return (
<div className="col-12 col-md-3">
<div className="col-12 col-md-4 col-lg-3">
<div className="card mb-3 col-12">
<div className="row g-0">
<div className="col-12">
Expand Down
2 changes: 1 addition & 1 deletion src/components/BookForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const CreateBook = () => {
<div className="form-group my-2">
<div className="form-floating">
<textarea
className="form-control h-75"
className="form-control bookDescription"
placeholder="Leave a comment here"
id="floatingTextarea"
name="description"
Expand Down

0 comments on commit f597d25

Please sign in to comment.