Skip to content
This repository has been archived by the owner on Feb 19, 2025. It is now read-only.

Commit

Permalink
design
Browse files Browse the repository at this point in the history
  • Loading branch information
Niklas Kerkhoff committed Nov 22, 2024
1 parent 0934a99 commit 2c31328
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ export function ChatAdditionalInfo({ chat, selectedMessageId }: Props) {
<ToggleButtonGroup
value={additionalInfo}
onChange={handleTabChange}
spacing={0.01}
variant='plain'
size='sm'
>
<Button value='contexts'>{t('Sources')} ({contexts?.length ?? 0})</Button>
Expand Down Expand Up @@ -104,9 +106,11 @@ function Contexts({ contexts }: ContextsProps) {
}

if (contexts.length === 0) return (
<VStack justifyContent='center' alignItems='center'>
<Typography>{t('Select a message')}</Typography>
</VStack>
<MainContent>
<VStack justifyContent='center' alignItems='center'>
<Typography>{t('Select a message')}</Typography>
</VStack>
</MainContent>
)

return (
Expand Down

0 comments on commit 2c31328

Please sign in to comment.