fix: remove trailing slash

This commit is contained in:
Xylight committed 2024-07-16 10:05:40 -07:00
1 parent 64a2610fa5
commit b97ebffc08
2 files changed
+10 -10

No files matched your search

@@ -76,9 +76,11 @@
{#if richURL}
<div class="flex max-w-full overflow-hidden">
{richURL.hostname}
<span class="text-slate-500 dark:text-zinc-500 whitespace-nowrap">
{richURL.pathname}
</span>
{#if richURL.pathname != '/'}
<span class="text-slate-500 dark:text-zinc-500 whitespace-nowrap">
{richURL.pathname}
</span>
{/if}
</div>
{:else}
{url}
+5 -7
View File
@@ -140,16 +140,14 @@
</script>
<div class="flex flex-col gap-4 max-w-full w-full min-w-0">
<header>
<header class="flex flex-col gap-4 relative">
<Header>{$t('routes.frontpage.title')}</Header>
</header>
<div class="flex items-center gap-2">
<Location changeDefault selected={data.listingType} />
<Sort changeDefault selected={data.sort} />
<div class="max-[420px]:hidden">
<div class="flex items-center gap-2">
<Location changeDefault selected={data.listingType} />
<Sort changeDefault selected={data.sort} />
<ViewSelect />
</div>
</div>
</header>
<svelte:component
this={browser ? VirtualFeed : PostFeed}