Skip to content

Commit

Permalink
Refactor UI layout in App.tsx and index.css, and fix flex layout issue
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-vahn committed May 2, 2024
1 parent 7226393 commit 69b2c88
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 7 additions & 5 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ function App() {

return (
<>
<div className="flex flex-col overflow-hidden h-screen w-screen rounded-xl bg-customGrayWallet">
<div className="flex flex-col overflow-hidden h-screen w-screen max-h-screen rounded-xl bg-customGrayWallet">
{view === View.LANDING && (
<>
<div className="components-container mb-2">
Expand All @@ -213,10 +213,12 @@ function App() {
</div>
</div>
</div>
<PrimaryButton
title="Add to your Home Screen"
callback={skip}
/>
<div className="min-h-11">
<PrimaryButton
title="Add to your Home Screen"
callback={skip}
/>
</div>
</>
)}
{view === View.CONNECT && (
Expand Down
1 change: 0 additions & 1 deletion src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ body {

.components-container {
display: flex;
/* flex-grow: 1; */
flex-direction: column;
width: 100%;
background-color: #aadaf1;
Expand Down

0 comments on commit 69b2c88

Please sign in to comment.