Skip to content

Commit

Permalink
feat: padding for scrollable textarea
Browse files Browse the repository at this point in the history
  • Loading branch information
1wkk committed Mar 4, 2023
1 parent 7d704ec commit 4fd3c77
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/components/Generator.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { createSignal, For, Show, Index } from 'solid-js'
import MessageItem from './MessageItem'
import IconClear from './icons/Clear'
import type { ChatMessage } from '@/types'
import { createSignal, Index, Show } from 'solid-js'
import IconClear from './icons/Clear'
import MessageItem from './MessageItem'

export default () => {
let inputRef: HTMLTextAreaElement
Expand Down Expand Up @@ -178,6 +178,7 @@ export default () => {
placeholder:text-slate-400
placeholder:op-30
overflow-hidden
scroll-pa-8px
/>
<button onClick={handleButtonClick} disabled={loading()} h-12 px-4 py-2 bg-slate bg-op-15 hover:bg-op-20 text-slate rounded-sm>
Send
Expand Down

0 comments on commit 4fd3c77

Please sign in to comment.