Skip to content

Commit

Permalink
fix: adjust padding around discussion for small screens
Browse files Browse the repository at this point in the history
  • Loading branch information
spaenleh committed Feb 13, 2024
1 parent 44bd18d commit d9be288
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/modules/main/PlayerView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ const PlayerView = ({ id }: Props): JSX.Element => {
const comments = appData?.filter((res) => res.creator?.id === memberId);

return (
<Box sx={{ px: 10 }} data-cy={PLAYER_VIEW_CY}>
<Box
sx={{ px: { xs: 2, sm: 10 }, maxWidth: '100ch', m: 'auto' }}
data-cy={PLAYER_VIEW_CY}
>
<ChatbotPrompt id={memberId} />
<CommentThread>{comments}</CommentThread>
</Box>
Expand Down

0 comments on commit d9be288

Please sign in to comment.