fix: misc layout issues
This commit is contained in:
1 parent
cbb2b8915d
commit
af490b3d65
7 files changed
+29
-7
No files matched your search
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "photon-lemmy",
|
"name": "photon-lemmy",
|
||||||
"version": "1.1.0",
|
"version": "1.1.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite dev",
|
"dev": "vite dev",
|
||||||
|
|||||||
@@ -62,7 +62,7 @@
|
|||||||
{#if options.length > 4}
|
{#if options.length > 4}
|
||||||
<select
|
<select
|
||||||
bind:value={selected}
|
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)
|
.slice(4)
|
||||||
.includes(selected)
|
.includes(selected)
|
||||||
? 'bg-slate-900 text-slate-50 dark:bg-zinc-100 dark:text-black w-max'
|
? 'bg-slate-900 text-slate-50 dark:bg-zinc-100 dark:text-black w-max'
|
||||||
|
|||||||
@@ -48,5 +48,5 @@
|
|||||||
on:select={(e) => {
|
on:select={(e) => {
|
||||||
if (navigate) searchParam($page.url, 'sort', e.detail, 'page')
|
if (navigate) searchParam($page.url, 'sort', e.detail, 'page')
|
||||||
}}
|
}}
|
||||||
class="w-full md:max-w-[24rem]"
|
class="w-full"
|
||||||
/>
|
/>
|
||||||
@@ -79,7 +79,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
{:else}
|
{:else}
|
||||||
<Logo width={40} />
|
<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="opacity-30 text-xl">/</span>
|
||||||
<span class="text-sm font-bold">
|
<span class="text-sm font-bold">
|
||||||
{$instance}
|
{$instance}
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
slot="icon"
|
slot="icon"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<span class:hidden={!expanded}>
|
<span class="max-w-full break-words" class:hidden={!expanded}>
|
||||||
{follow.title}
|
{follow.title}
|
||||||
</span>
|
</span>
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
ArrowLeftOnRectangle,
|
ArrowLeftOnRectangle,
|
||||||
ChevronDoubleLeft,
|
ChevronDoubleLeft,
|
||||||
Cog6Tooth,
|
Cog6Tooth,
|
||||||
|
GlobeAlt,
|
||||||
Home,
|
Home,
|
||||||
Icon,
|
Icon,
|
||||||
Plus,
|
Plus,
|
||||||
@@ -88,8 +89,8 @@
|
|||||||
color="tertiary"
|
color="tertiary"
|
||||||
alignment="left"
|
alignment="left"
|
||||||
>
|
>
|
||||||
<Icon src={Plus} solid size="20" />
|
<Icon src={GlobeAlt} size="20" />
|
||||||
<span class:hidden={!$userSettings.expandSidebar}>Add communities</span>
|
<span class:hidden={!$userSettings.expandSidebar}>Communities</span>
|
||||||
</Button>
|
</Button>
|
||||||
{/if}
|
{/if}
|
||||||
{:else}
|
{:else}
|
||||||
|
|||||||
@@ -65,3 +65,24 @@ pre {
|
|||||||
padding-bottom: 0.125rem;
|
padding-bottom: 0.125rem;
|
||||||
border-radius: 3px;
|
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