Skip to content

Commit

Permalink
Add min height
Browse files Browse the repository at this point in the history
  • Loading branch information
Loskir committed Jun 21, 2023
1 parent 503d344 commit 81458b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/Input/Input.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { css } from "@emotion/css"
import clsx from "clsx"
import React, { useCallback, useMemo } from "react"
import TextareaAutosize from "react-textarea-autosize"
Expand All @@ -21,6 +22,7 @@ export const Input: React.FC<InputProps> = ({
const className = useMemo(() =>
clsx(
"bg-white rounded-xl px-4 py-2 border border-gray-200 hover:border-gray-300 active:border-gray-300",
css`min-height: 42px`,
classNameProp,
), [classNameProp])
const onChange = useCallback((event: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => {
Expand Down

1 comment on commit 81458b5

@vercel
Copy link

@vercel vercel bot commented on 81458b5 Jun 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

price-monitor – ./

price-monitor-loskir.vercel.app
price-monitor-git-main-loskir.vercel.app
price-monitor-mu.vercel.app

Please sign in to comment.