Skip to content

Commit

Permalink
fix chat profiles horizontal scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
willydouhard committed Nov 2, 2023
1 parent a6af169 commit 1c25629
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions frontend/src/components/molecules/chatProfiles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,8 @@ export default function ChatProfiles() {
const popoverOpen = Boolean(anchorEl);

return (
<Box py={2} alignSelf="center" maxWidth="min(60rem, 90vw)" overflow="auto">
<InputStateHandler
id={'chat-profile-selector'}
sx={{
width: 'fit-content'
}}
>
<Box py={2} alignSelf="center" maxWidth="min(60rem, 90vw)">
<InputStateHandler id={'chat-profile-selector'}>
<Box
sx={{
border: (theme) => `1px solid ${theme.palette.divider}`,
Expand All @@ -74,6 +69,7 @@ export default function ChatProfiles() {
setNewChatProfile(newValue);
setOpenDialog(true);
}}
variant="scrollable"
sx={{
minHeight: '40px !important',

Expand Down

0 comments on commit 1c25629

Please sign in to comment.