aleph-im / front-aleph-cloud-page

1 stars 0 forks source link

FIXED: Logout doesn't work on mobile #74

Closed leirbag95 closed 11 months ago

leirbag95 commented 12 months ago

Issue:

The wallet picker for connecting/disconnecting a wallet was not displaying on mobile devices.

Changes Made:

I have addressed the issue by adding the following code to the mobileTopContent section of the StyledNavbar component:

<div tw="absolute right-0 mt-10" ref={divRefMobile}>
  {displayWalletPicker && WalletPickerComponent()}
</div>

Additionally, a new divRefMobile has been added for mobile devices.

Test Plan:

I have tested the changes on various mobile devices and verified that the wallet picker now displays correctly. I have also ensured that users can connect and disconnect their wallets as expected.

Screenshots

Screenshot Screenshot

Checklist

I have tested these changes thoroughly. All existing tests pass. I have updated the documentation, if necessary.