Skip to content

Commit

Permalink
Increase desktop profile modal width to match before dbb5d8e
Browse files Browse the repository at this point in the history
The difference is: optional scrollbar (15px) + margin (24px + 24px) = 63px
  • Loading branch information
lukaw3d committed Dec 15, 2023
1 parent 0527188 commit 697859f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .changelog/1805.bugfix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Prevent showing horizontal scrollbar in desktop profile modal
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const LayerContainer = ({ animation, children, hideLayer }: LayerContaine
modal
position="top"
margin={isMobile ? 'none' : 'xlarge'}
style={{ width: '100%', maxWidth: isMobile ? 'none' : '700px' }}
style={{ width: '100%', maxWidth: isMobile ? 'none' : '760px' }}
>
<Box margin={{ top: 'small', bottom: 'medium', horizontal: 'medium' }}>
<Box align="end">
Expand Down

0 comments on commit 697859f

Please sign in to comment.