diff --git a/src/lib/components/ContentLayout.svelte b/src/lib/components/ContentLayout.svelte index 4aa822207..35c9beda9 100644 --- a/src/lib/components/ContentLayout.svelte +++ b/src/lib/components/ContentLayout.svelte @@ -30,6 +30,7 @@ width: 100%; position: sticky; top: 0; + z-index: 2; padding: 0.625rem; } main { @@ -44,6 +45,7 @@ width: 100%; position: sticky; bottom: 0; + z-index: 2; padding: 0.625rem; } diff --git a/src/routes/app/add-ons/+page.svelte b/src/routes/app/add-ons/+page.svelte index 41efbbfee..3c5e244ef 100644 --- a/src/routes/app/add-ons/+page.svelte +++ b/src/routes/app/add-ons/+page.svelte @@ -49,6 +49,7 @@ Array.from(($page.url as URL).searchParams.entries()).find( ([_, value]) => value === "true", )?.[0] ?? "all"; + $: showTip = ["active", "featured", "premium"].includes(active); $: query = ($page.url as URL).searchParams.get("query") ?? ""; @@ -61,34 +62,37 @@ - - {#if active === "active"} - - - {$_("addonBrowserDialog.pinnedTip")} - - {:else if active === "featured"} - - - {$_("addonBrowserDialog.featuredTip")} - - {:else if active === "premium"} - - - {$_("addonBrowserDialog.premiumTip")} - + {#if showTip} +
+ {#if active === "active"} + + + {$_("addonBrowserDialog.pinnedTip")} + + {:else if active === "featured"} + + + {$_("addonBrowserDialog.featuredTip")} + + {:else if active === "premium"} + + + {$_("addonBrowserDialog.premiumTip")} + + {/if} +
{/if} {#await data.addons} Loading… @@ -119,3 +123,9 @@ + +