Skip to content

Commit f267b6a

Browse files
committedApr 24, 2024·
update padding
1 parent f50933c commit f267b6a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎src/entries/newTab/App.svelte

+4-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
isDarkMode,
99
isAutoDarkMode,
1010
tonConnector,
11+
user,
1112
} from "~/store";
1213
import { TonConnectUI } from "@tonconnect/ui";
13-
import dayjs from "dayjs";
1414
1515
import "flowbite/dist/flowbite.css";
1616
@@ -205,7 +205,9 @@
205205
{#if $detectParams && $detectParams === "/recap"}
206206
<Router routes={recapRoutes} options={{ gaPageviews: true }} />
207207
{:else}
208-
<div class="flex flex-col pb-64 xl:pb-14">
208+
<div
209+
class={`flex flex-col xl:pb-14 ${$user && Object.keys($user).length !== 0 ? "pb-34" : "pb-64"}`}
210+
>
209211
<Header {navActive} {handleUpdateNavActive} />
210212
<Router {routes} options={{ gaPageviews: true }} />
211213
</div>

0 commit comments

Comments
 (0)
Please sign in to comment.