Skip to content

Commit

Permalink
Refactor UI layout in App.tsx and index.html, fix flex layout issue, …
Browse files Browse the repository at this point in the history
…and update balance display
  • Loading branch information
daniel-vahn committed May 2, 2024
1 parent d1bbfe2 commit 8849d47
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,14 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
</head>
<body style="height: 100vh; overflow: hidden">
<body
style="
height: 100vh;
overflow: hidden;
--tg-viewport-height: 100vh;
--tg-viewport-stable-height: 100vh;
"
>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion 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-y-auto overflow-x-hidden min-h-full h-screen rounded-xl bg-customGrayWallet">
<div className="flex flex-col overflow-y-auto overflow-x-hidden min-h-full h-screen w-screen rounded-xl bg-customGrayWallet">
{view === View.LANDING && (
<>
<div className="components-container mb-2">
Expand Down

0 comments on commit 8849d47

Please sign in to comment.