Skip to content

Commit

Permalink
Full screen height fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rubycop committed Jan 29, 2025
1 parent 3783229 commit 9387d42
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,12 @@ function AppLayout({ page, instance, children, treasuryDaoID, accountId }) {

return (
<ParentContainer data-bs-theme={isDarkTheme ? "dark" : "light"}>
<Theme className="min-h-100 w-100">
<Theme
className="w-100"
style={{
minHeight: gatewayURL.includes("near.org") ? "100vh" : "100%",
}}
>
<AppHeader page={page} instance={instance} />
<BalanceBanner accountId={accountId} treasuryDaoID={treasuryDaoID} />
<div className="px-3 pb-3 w-100 h-100">{children}</div>
Expand Down

0 comments on commit 9387d42

Please sign in to comment.