Skip to content

Commit

Permalink
fix: fixed an issue where mobile is not scrollable
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienne-deriv committed Sep 14, 2023
1 parent ab0ab57 commit e9e15e1
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
4 changes: 4 additions & 0 deletions packages/wallets/src/AppContent.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
padding: 40px;
}

@include mobile {
overflow-y: auto;
}

&__content {
width: 100%;
display: flex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

@include mobile {
padding-top: unset;
height: calc(100vh - 400px);
overflow-y: auto;
}

@include desktop {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.wallets-carousel {
@include mobile {
height: 100%;
overflow-y: auto;
}
}
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import React from 'react';
import { AccountsList } from '../AccountsList';
import { WalletsCarouselContent } from '../WalletsCarouselContent';
import './WalletsCarousel.scss';

const WalletsCarousel: React.FC = () => {
return (
<React.Fragment>
<div className='wallets-carousel'>
<WalletsCarouselContent />
<AccountsList />
</React.Fragment>
</div>
);
};

Expand Down

0 comments on commit e9e15e1

Please sign in to comment.