Skip to content

Commit

Permalink
fix: input rings
Browse files Browse the repository at this point in the history
  • Loading branch information
CaliCastle committed Jun 16, 2023
1 parent 2b5ee7b commit d59099b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/(main)/guestbook/GuestbookInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export function GuestbookInput() {
) : (
<TextareaAutosize
ref={textareaRef}
className="block w-full shrink-0 resize-none border-0 bg-transparent text-sm leading-6 text-zinc-800 placeholder-zinc-400 outline-none transition-[height] will-change-[height] focus:outline-none dark:text-zinc-200 dark:placeholder-zinc-500"
className="block w-full shrink-0 resize-none border-0 bg-transparent p-0 text-sm leading-6 text-zinc-800 placeholder-zinc-400 outline-none transition-[height] will-change-[height] focus:outline-none focus:ring-0 dark:text-zinc-200 dark:placeholder-zinc-500"
value={message}
onChange={(event) => setMessage(event.target.value)}
placeholder="说点什么吧,万一火不了呢..."
Expand Down
2 changes: 1 addition & 1 deletion components/Commentable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ function CommentTextarea({ isLoading, onSubmit }: CommentTextareaProps) {
ref={textareaRef}
id="comment"
name="comment"
className="block flex-1 shrink-0 resize-none border-0 bg-transparent text-sm leading-6 text-zinc-800 placeholder-zinc-400 outline-none focus:outline-none dark:text-zinc-200 dark:placeholder-zinc-500"
className="block flex-1 shrink-0 resize-none border-0 bg-transparent p-0 text-sm leading-6 text-zinc-800 placeholder-zinc-400 outline-none focus:outline-none focus:ring-0 dark:text-zinc-200 dark:placeholder-zinc-500"
placeholder={
replyingTo
? `回复 ${parseDisplayName(replyingTo.userInfo)} 的评论...`
Expand Down

0 comments on commit d59099b

Please sign in to comment.