Update examples and improve stability (#271)
This commit is contained in:
parent
25e4128e25
commit
70ed5c4f47
16 changed files with 118 additions and 101 deletions
|
|
@ -72,9 +72,9 @@ export function PromptForm({
|
|||
<Button
|
||||
variant="outline"
|
||||
size="icon"
|
||||
className="absolute left-0 top-4 size-8 rounded-full bg-background p-0 sm:left-4"
|
||||
className="absolute left-0 top-[14px] size-8 rounded-full bg-background p-0 sm:left-4"
|
||||
onClick={() => {
|
||||
router.push('/')
|
||||
router.push('/new')
|
||||
}}
|
||||
>
|
||||
<IconPlus />
|
||||
|
|
@ -98,7 +98,7 @@ export function PromptForm({
|
|||
value={input}
|
||||
onChange={e => setInput(e.target.value)}
|
||||
/>
|
||||
<div className="absolute right-0 top-4 sm:right-4">
|
||||
<div className="absolute right-0 top-[13px] sm:right-4">
|
||||
<Tooltip>
|
||||
<TooltipTrigger asChild>
|
||||
<Button type="submit" size="icon" disabled={input === ''}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue