fix: misc layout issues
This commit is contained in:
1 parent
cbb2b8915d
commit
af490b3d65
7 files changed
+29
-7
No files matched your search
@@ -62,7 +62,7 @@
|
||||
{#if options.length > 4}
|
||||
<select
|
||||
bind:value={selected}
|
||||
class="bg-inherit text-sm mr-2 p-1.5 rounded-md {options
|
||||
class="bg-inherit text-sm mr-2 p-1.5 rounded-md cursor-pointer {options
|
||||
.slice(4)
|
||||
.includes(selected)
|
||||
? 'bg-slate-900 text-slate-50 dark:bg-zinc-100 dark:text-black w-max'
|
||||
|
||||
@@ -48,5 +48,5 @@
|
||||
on:select={(e) => {
|
||||
if (navigate) searchParam($page.url, 'sort', e.detail, 'page')
|
||||
}}
|
||||
class="w-full md:max-w-[24rem]"
|
||||
class="w-full"
|
||||
/>
|
||||
@@ -79,7 +79,7 @@
|
||||
{/if}
|
||||
{:else}
|
||||
<Logo width={40} />
|
||||
<div class="flex flex-row items-center gap-2 max-[500px]:hidden">
|
||||
<div class="flex flex-row items-center gap-2 max-[1000px]:hidden">
|
||||
<span class="opacity-30 text-xl">/</span>
|
||||
<span class="text-sm font-bold">
|
||||
{$instance}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
slot="icon"
|
||||
/>
|
||||
</div>
|
||||
<span class:hidden={!expanded}>
|
||||
<span class="max-w-full break-words" class:hidden={!expanded}>
|
||||
{follow.title}
|
||||
</span>
|
||||
</Button>
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
ArrowLeftOnRectangle,
|
||||
ChevronDoubleLeft,
|
||||
Cog6Tooth,
|
||||
GlobeAlt,
|
||||
Home,
|
||||
Icon,
|
||||
Plus,
|
||||
@@ -88,8 +89,8 @@
|
||||
color="tertiary"
|
||||
alignment="left"
|
||||
>
|
||||
<Icon src={Plus} solid size="20" />
|
||||
<span class:hidden={!$userSettings.expandSidebar}>Add communities</span>
|
||||
<Icon src={GlobeAlt} size="20" />
|
||||
<span class:hidden={!$userSettings.expandSidebar}>Communities</span>
|
||||
</Button>
|
||||
{/if}
|
||||
{:else}
|
||||
|
||||
@@ -65,3 +65,24 @@ pre {
|
||||
padding-bottom: 0.125rem;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 3px;
|
||||
height: 3px;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
width: 2px;
|
||||
margin: 1px;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
border-radius: 9999px;
|
||||
@apply bg-slate-200;
|
||||
}
|
||||
|
||||
.dark ::-webkit-scrollbar-thumb {
|
||||
@apply bg-zinc-800;
|
||||
}
|
||||
Reference in new issue
Block a user