Skip to content

Commit

Permalink
docs: fix homepage appearance in mobile view (#5827)
Browse files Browse the repository at this point in the history
* Fixed homepage appearance in mobile view

* minor change

* Used calc function for width

* Changed width
  • Loading branch information
nancy2681 committed May 25, 2021
1 parent 488e5c0 commit 82e3953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const ButtonToolbar = styled('div')`
margin: -1rem;
& > * {
width: 100%;
width: calc(100% - 2rem);
max-width: 300px;
margin: 1rem;
}
Expand Down

0 comments on commit 82e3953

Please sign in to comment.