Skip to content

Commit 97ed4c9

Browse files
committed
even more layout improvements
1 parent 8867228 commit 97ed4c9

File tree

5 files changed

+6
-14
lines changed

5 files changed

+6
-14
lines changed

src/client/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ const Layout = () => {
126126
ref={appRef}
127127
>
128128
{!isEmbedded && <NavBar />}
129-
<Box sx={{ flex: 1, overscrollBehavior: 'none' }}>
129+
<Box sx={{ flex: 1 }}>
130130
<Outlet />
131131
</Box>
132132
<Feedback />

src/client/components/ChatV2/Annotations.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ const Annotations = ({ fileSearchResult, setShowAnnotations }: { fileSearchResul
199199

200200
return (
201201
<Box
202-
p={{ xs: 1, md: 3 }}
202+
p="1rem"
203203
sx={{
204204
width: '100%',
205205
height: '100%',
@@ -232,9 +232,6 @@ const Annotations = ({ fileSearchResult, setShowAnnotations }: { fileSearchResul
232232
<IconButton
233233
id="close-annotations"
234234
sx={{
235-
position: 'absolute',
236-
top: 10,
237-
right: 20,
238235
color: 'grey.500',
239236
background: '#FFF',
240237
opacity: 0.9,

src/client/components/ChatV2/ChatV2.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,11 +348,9 @@ export const ChatV2 = () => {
348348
sx={{
349349
display: 'flex',
350350
flexDirection: 'row',
351-
// height: '100%',
352351
width: '100%',
353352
maxWidth: '100%',
354353
overflowX: 'clip',
355-
overscrollBehavior: 'none',
356354
}}
357355
>
358356
{/* Chat side panel column -------------------------------------------------------------------------------------------*/}
@@ -566,6 +564,7 @@ export const ChatV2 = () => {
566564
borderLeft: '1px solid rgba(0,0,0,0.12)',
567565
width: 400,
568566
minWidth: 400,
567+
paddingTop: !isEmbeddedMode ? '4rem' : 0,
569568
}}
570569
>
571570
<Annotations fileSearchResult={activeFileSearchResult} setShowAnnotations={setShowAnnotations} />

src/client/components/Footer/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ const Footer = () => {
3535
return (
3636
<Box
3737
component="footer"
38-
sx={(theme) => ({
38+
sx={{
3939
mt: 'auto',
4040
width: '100%',
41-
})}
41+
}}
4242
>
4343
<Box sx={styles.supportBox}>
4444
<Box>
@@ -56,7 +56,7 @@ const Footer = () => {
5656

5757
<Box>
5858
<Link href="https://toska.dev" target="_blank" rel="noopener" underline="hover">
59-
<img src={toskaColor} alt="Toska" width="70" />
59+
<img src={toskaColor} alt="Toska" width="40" />
6060
</Link>
6161
</Box>
6262
</Box>

src/client/styles.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,3 @@
3939
100% 100%;
4040
}
4141
}
42-
43-
/*body {
44-
overscroll-behavior: none;
45-
}*/

0 commit comments

Comments
 (0)