layout issues

This commit is contained in:
Matthias Hochmeister
2026-03-12 14:23:57 +01:00
parent 21b7be22db
commit 81174c2498
3 changed files with 20 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ const ChatPanelInner: React.FC = () => {
sx={{
width: COLLAPSED_WIDTH,
height: '100%',
display: 'flex',
display: { xs: 'none', sm: 'flex' },
flexDirection: 'column',
alignItems: 'center',
pt: 1,
@@ -89,7 +89,12 @@ const ChatPanelInner: React.FC = () => {
<Paper
elevation={2}
sx={{
width: EXPANDED_WIDTH,
width: { xs: '100vw', sm: EXPANDED_WIDTH },
position: { xs: 'fixed', sm: 'relative' },
top: { xs: 0, sm: 'auto' },
right: { xs: 0, sm: 'auto' },
bottom: { xs: 0, sm: 'auto' },
zIndex: { xs: (theme) => theme.zIndex.drawer + 2, sm: 'auto' },
height: '100%',
display: 'flex',
flexDirection: 'column',