Skip to content

Commit 0fac87c

Browse files
committed
ui: Smaller sidebar
1 parent cf3635f commit 0fac87c

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

src/client/components/ChatV2/ChatV2.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ export const ChatV2 = () => {
288288
const showRagSelector = (ragIndices?.length ?? 0) > 0
289289
const rightMenuOpen = !!activeToolResult
290290
const rightMenuWidth = rightMenuOpen ? '300px' : '0px'
291-
const leftMenuWidth = !isEmbeddedMode ? { md: '300px', lg: '400px' } : { md: '0px', lg: '0px' }
291+
const leftMenuWidth = !isEmbeddedMode ? { md: '250px', lg: '300px' } : { md: '0px', lg: '0px' }
292292

293293
// Handle layout shift when right menu opens (tool result becomes visible)
294294
const prevScrollYProportional = useRef(0)
@@ -615,7 +615,7 @@ const LeftMenu = ({
615615
<Box
616616
sx={[
617617
{
618-
width: { md: 300, lg: 400 },
618+
width: { md: 250, lg: 300 },
619619
position: 'relative',
620620
height: '100vh',
621621
borderRight: '1px solid rgba(0, 0, 0, 0.12)',

src/client/components/Footer/index.tsx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,12 @@ const Footer = () => {
5050
}}
5151
/>
5252
</Typography>
53-
<Typography variant="caption">{t('footer:version', { version: changelog?.[0]?.version, publishedAgo })}</Typography>
54-
</Box>
55-
56-
<Box>
57-
<Link href="https://toska.dev" target="_blank" rel="noopener" underline="hover">
58-
<img src={toskaColor} alt="Toska" width="40" />
59-
</Link>
53+
<Box display="flex" gap="1rem">
54+
<Typography variant="caption">{t('footer:version', { version: changelog?.[0]?.version, publishedAgo })}</Typography>
55+
<Link href="https://toska.dev" target="_blank" rel="noopener" underline="hover">
56+
<img src={toskaColor} alt="Toska" width="40" />
57+
</Link>
58+
</Box>
6059
</Box>
6160
</Box>
6261
</Box>

0 commit comments

Comments
 (0)