Skip to content

Commit

Permalink
Merge pull request #178 from masa-finance/bug/177-fix-scrollbar
Browse files Browse the repository at this point in the history
limit scrollbar to mobile
  • Loading branch information
aaronknott committed May 23, 2023
2 parents a81a5b2 + 60dd9b1 commit f01d1f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@masa-finance/masa-react",
"version": "2.0.2",
"version": "2.0.3",
"license": "MIT",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts",
Expand Down
5 changes: 4 additions & 1 deletion src/styles.scss
Expand Up @@ -246,12 +246,15 @@
flex-direction: column;
align-items: flex-start;
box-sizing: border-box;
overflow-y: scroll;
padding: 1.2em;

width: 100%;
height: 100%;

@media (max-width: 600px) {
overflow-y: scroll;
}

&.story {
width: 100%;

Expand Down

0 comments on commit f01d1f0

Please sign in to comment.