Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored May 28, 2024
1 parent 691540a commit 52786c8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ee/tabby-ui/components/chat/chat-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export function ChatPanel({
return (
<div className={className}>
<ButtonScrollToBottom container={container} />
<div className={`md:px-4 mx-auto ${chatMaxWidthClass}`}>
<div className={`mx-auto md:px-4 ${chatMaxWidthClass}`}>
<div className="flex h-10 items-center justify-center gap-2">
{isLoading ? (
<Button
Expand Down
2 changes: 1 addition & 1 deletion ee/tabby-ui/components/chat/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ interface ChatProps extends React.ComponentProps<'div'> {
container?: HTMLDivElement
docQuery?: boolean
generateRelevantQuestions?: boolean
maxWidth?: string,
maxWidth?: string
welcomeMessage?: string
}

Expand Down
5 changes: 4 additions & 1 deletion ee/tabby-ui/components/chat/empty-screen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ export function EmptyScreen({
setInput,
chatMaxWidthClass,
welcomeMessage
}: Pick<UseChatHelpers, 'setInput'> & { chatMaxWidthClass: string, welcomeMessage?: string }) {
}: Pick<UseChatHelpers, 'setInput'> & {
chatMaxWidthClass: string
welcomeMessage?: string
}) {
const welcomeMsg = welcomeMessage || 'Welcome'
return (
<div className={`mx-auto px-4 ${chatMaxWidthClass}`}>
Expand Down

0 comments on commit 52786c8

Please sign in to comment.