Skip to content

Commit

Permalink
Merge pull request #181 from pathirny/develop
Browse files Browse the repository at this point in the history
input to textarea
  • Loading branch information
pathirny authored Dec 22, 2023
2 parents 481d6d6 + 0de6fee commit f85bdd1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
12 changes: 12 additions & 0 deletions harvesthub/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,17 @@ input {
color: var(--dark-green-color);
}

.input {
margin-top: 1rem;
border-radius: 10px;
height: 3rem;
width: 14rem;
background-color: var(--white-cream-color);
color: var(--dark-green-color);
}
#input {
text-wrap: wrap;
}
input::placeholder {
text-align: center;
color: var(--dark-green-color);
Expand Down Expand Up @@ -1194,6 +1205,7 @@ hr {
height: 9vw;
width: 10vw;
}

#home-button,
#user-button {
transition: 0.7s;
Expand Down
5 changes: 4 additions & 1 deletion harvesthub/app/tips-and-tricks/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
FormControl,
FormLabel,
Input,
Textarea,
} from "@chakra-ui/react";
import useCheckSignedIn from "../../components/hooks/useCheckSignedIn";

Expand Down Expand Up @@ -181,15 +182,17 @@ export default function TipsnTricks() {
placeholder="Title ✍"
width="90vw"
required
id="input"
className="input"
value={title}
onChange={(event) => setTitle(event.target.value)}
/>
<Input
<Textarea
placeholder="Description ✍"
width="90vw"
height="25vh"
className="input"
id="input"
required
value={description}
onChange={(event) => setDescription(event.target.value)}
Expand Down

0 comments on commit f85bdd1

Please sign in to comment.