Skip to content

Commit

Permalink
fix: device settings getting clipped in mweb
Browse files Browse the repository at this point in the history
  • Loading branch information
KaustubhKumar05 authored Aug 23, 2023
1 parent 09737e4 commit 5f618d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ const DeviceSelector = ({ title, devices, selection, onChange, icon, children =
open={open}
/>
<Dropdown.Portal>
<Dropdown.Content align="start" sideOffset={8} css={{ w: ref.current?.clientWidth, zIndex: 1000 }}>
<Dropdown.Content align="start" sideOffset={8} css={{ w: ref.current?.clientWidth, zIndex: 1001 }}>
{devices.map(device => {
return (
<Dropdown.Item
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ const MobileSettingModal = ({
<Sheet.Content
css={{
bg: '$surface_dim',
overflowY: 'auto',
}}
>
<Sheet.Title css={{ py: '$10', px: '$8', alignItems: 'center' }}>
Expand Down Expand Up @@ -120,8 +121,8 @@ const MobileSettingModal = ({
direction="column"
css={{
px: '$8',
maxHeight: '80vh',
overflowY: 'scroll',
pb: '$8',
overflowY: 'auto',
}}
>
{settingsList
Expand Down

0 comments on commit 5f618d1

Please sign in to comment.