mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
context fits in inputbox
This commit is contained in:
parent
c4e4701dc3
commit
f2f9b6ccca
1 changed files with 3 additions and 2 deletions
|
|
@ -170,7 +170,7 @@ const useResizeObserver = () => {
|
||||||
|
|
||||||
|
|
||||||
type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement>
|
type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement>
|
||||||
const DEFAULT_BUTTON_SIZE = 20;
|
const DEFAULT_BUTTON_SIZE = 22;
|
||||||
export const ButtonSubmit = ({ className, disabled, ...props }: ButtonProps & Required<Pick<ButtonProps, 'disabled'>>) => {
|
export const ButtonSubmit = ({ className, disabled, ...props }: ButtonProps & Required<Pick<ButtonProps, 'disabled'>>) => {
|
||||||
|
|
||||||
return <button
|
return <button
|
||||||
|
|
@ -195,7 +195,7 @@ export const ButtonStop = ({ className, ...props }: ButtonHTMLAttributes<HTMLBut
|
||||||
type='button'
|
type='button'
|
||||||
{...props}
|
{...props}
|
||||||
>
|
>
|
||||||
<IconSquare size={DEFAULT_BUTTON_SIZE} className="stroke-[3] p-[6px]" />
|
<IconSquare size={DEFAULT_BUTTON_SIZE} className="stroke-[3] p-[7px]" />
|
||||||
</button>
|
</button>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -628,6 +628,7 @@ export const SidebarChat = () => {
|
||||||
transition-all duration-200
|
transition-all duration-200
|
||||||
rounded-md
|
rounded-md
|
||||||
bg-vscode-input-bg
|
bg-vscode-input-bg
|
||||||
|
max-h-[60vh] overflow-y-auto
|
||||||
border border-vscode-commandcenter-inactive-border focus-within:border-vscode-commandcenter-active-border hover:border-vscode-commandcenter-active-border
|
border border-vscode-commandcenter-inactive-border focus-within:border-vscode-commandcenter-active-border hover:border-vscode-commandcenter-active-border
|
||||||
`}
|
`}
|
||||||
onKeyDown={(e) => {
|
onKeyDown={(e) => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue