Skip to content

Commit 73c1ecc

Browse files
committed
fix(web): convert event title from Textrea to Input
Inputs don't automatically wrap like text areas, so this fixes the bug in #142
1 parent 387a09f commit 73c1ecc

File tree

1 file changed

+3
-1
lines changed
  • packages/web/src/views/Forms/EventForm

1 file changed

+3
-1
lines changed

packages/web/src/views/Forms/EventForm/styled.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { Flex } from "@web/components/Flex";
55
import { Textarea } from "@web/components/Textarea";
66
import { hoverColorByPriority } from "@web/common/styles/theme.util";
77
import { PriorityButton } from "@web/components/Button/styled";
8+
import { Input } from "@web/components/Input";
89

910
import { StyledFormProps } from "./types";
1011

@@ -56,9 +57,10 @@ export const StyledSubmitRow = styled(Flex)`
5657
padding-top: 18px;
5758
`;
5859

59-
export const StyledTitle = styled(Textarea)`
60+
export const StyledTitle = styled(Input)`
6061
background: transparent;
6162
font-size: ${({ theme }) => theme.text.size["5xl"]};
63+
font-weight: 600;
6264
&:hover {
6365
filter: brightness(90%);
6466
}

0 commit comments

Comments
 (0)