Skip to content

Commit

Permalink
Fix Korean translation, fix darkmode prompt styles
Browse files Browse the repository at this point in the history
  • Loading branch information
vanpelt committed Jun 26, 2024
1 parent 58b2293 commit c736c46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/Prompt.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ export default function Prompt({
id='llm-input'
className={cn(
`z-0 mx-auto my-4 flex w-full max-w-full justify-center rounded-full bg-muted px-4 py-3 align-middle transition-all md:w-full lg:w-10/12`,
isFocused ? 'border-2 border-primary bg-white' : ''
isFocused ? 'border-2 border-primary bg-white dark:bg-muted' : ''
)}
>
{/* eslint-disable-next-line @typescript-eslint/no-misused-promises */}
Expand Down Expand Up @@ -505,7 +505,7 @@ export default function Prompt({
/* TODO: make this width calculation dynamic */
cn(
'my-auto max-h-[130px] flex-1 resize-none items-center justify-center overflow-y-hidden rounded-none align-middle text-lg placeholder:text-lg',
'border-none bg-muted outline-none ring-0 transition-all focus-visible:bg-white focus-visible:ring-0 focus-visible:ring-offset-0'
'border-none bg-muted outline-none ring-0 transition-all focus-visible:bg-white focus-visible:ring-0 focus-visible:ring-offset-0 dark:focus-visible:bg-muted'
)
}
style={{
Expand Down
3 changes: 1 addition & 2 deletions frontend/src/lib/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ i18n
kr: {
translation: {
'Chat Header': '생성하고 싶은 UI에 대해 설명해주세요.',
'Pro Tip':
'프로 팁: 참조 스크린샷을 드래그 또는 붙여넣기할 수 있습니다.'
'Pro Tip': '힌트: 참조 스크린샷을 끌어다 붙여넣을 수 있습니다.'
}
}
},
Expand Down

0 comments on commit c736c46

Please sign in to comment.