fix: overflow issues with tabs

This commit is contained in:
Xylight committed 2024-08-21 21:01:42 -07:00
1 parent 795004d4e2
commit 84ff204f4b
3 files changed
+7 -4

No files matched your search

+3 -2
View File
@@ -55,7 +55,7 @@
</svelte:head>
<div class="flex flex-row gap-2">
<Header pageHeader class="justify-between items-end">
<Header pageHeader class="sm:flex-row flex-col justify-between items-end">
{$t('routes.inbox.title')}
<div class="flex items-center gap-2">
@@ -82,7 +82,7 @@
<div class="mt-4" />
<div
class="mt-4 mb-0 sticky z-30 mx-auto"
class="mt-4 mb-0 sticky z-30 mx-auto max-w-full overflow-hidden"
style="top: max(1.5rem, {$contentPadding.top}px);"
>
<Tabs
@@ -105,6 +105,7 @@
},
]}
currentRoute="{$page.url.pathname}{$page.url.search}"
class="overflow-auto"
/>
</div>
<div class="flex flex-row gap-4 flex-wrap items-end">
+3 -1
View File
@@ -58,7 +58,9 @@
{$t('filter.inbox.messages')}
</Header>
{#await data.messages}
<Spinner width={24} />
<div class="w-full h-full grid place-items-center">
<Spinner width={24} />
</div>
{:then data}
{@const conversations = data.private_messages}
{@const previews = conversationPreviews(conversations).filter(
@@ -17,7 +17,7 @@
class="group relative w-full flex gap-1 items-center {primary
? 'flex-row-reverse'
: 'flex-row'}"
style="max-width: min(70vw,24rem)"
style="max-width: min(80vw,24rem)"
>
<div
class="{primary