Skip to content

Commit

Permalink
Set layer height only on desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
buberdds committed Sep 11, 2023
1 parent 6ecd626 commit ca31d38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const AddContact = ({ setLayerVisibility }: AddContactProps) => {
<Box
flex="grow"
justify="center"
height={{ min: layerOverlayMinHeight }}
height={{ min: isMobile ? 'auto' : layerOverlayMinHeight }}

Check warning on line 40 in src/app/components/Toolbar/Features/Contacts/AddContact.tsx

View check run for this annotation

Codecov / codecov/patch

src/app/components/Toolbar/Features/Contacts/AddContact.tsx#L40

Added line #L40 was not covered by tests
pad={{ vertical: 'medium' }}
>
<ContactAccountForm setLayerVisibility={setLayerVisibility} submitHandler={submitHandler} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const ContactAccount = ({ contact }: ContactAccountProps) => {
<Box
flex="grow"
justify="center"
height={{ min: layerOverlayMinHeight }}
height={{ min: isMobile ? 'auto' : layerOverlayMinHeight }}

Check warning on line 57 in src/app/components/Toolbar/Features/Contacts/ContactAccount.tsx

View check run for this annotation

Codecov / codecov/patch

src/app/components/Toolbar/Features/Contacts/ContactAccount.tsx#L57

Added line #L57 was not covered by tests
pad={{ vertical: 'medium' }}
>
<ContactAccountForm
Expand Down

0 comments on commit ca31d38

Please sign in to comment.