mirror of
https://github.com/immich-app/immich.git
synced 2024-12-22 01:47:08 +02:00
Fix sidebar layout (#204)
* fix: sidebar margins with more than one item incorrect * fix: api url in sidebar shouldn't overflow the sidebar width
This commit is contained in:
parent
b9f38162d5
commit
5b036067ed
@ -77,9 +77,7 @@
|
|||||||
<div class="text-xs">
|
<div class="text-xs">
|
||||||
<p class="text-sm font-medium text-immich-primary">Server</p>
|
<p class="text-sm font-medium text-immich-primary">Server</p>
|
||||||
|
|
||||||
<div class="border p-2 rounded-md bg-gray-200 mt-2">
|
<input class="border p-2 rounded-md bg-gray-200 mt-2 text-immich-primary font-medium" value="{endpoint}" disabled="true">
|
||||||
<p class="text-immich-primary font-medium">{endpoint}</p>
|
|
||||||
</div>
|
|
||||||
<div class="flex justify-items-center justify-between mt-2">
|
<div class="flex justify-items-center justify-between mt-2">
|
||||||
<p>Status</p>
|
<p>Status</p>
|
||||||
|
|
||||||
|
@ -75,7 +75,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<section class="grid grid-cols-[250px_auto] relative pt-[72px] h-screen">
|
<section class="grid grid-cols-[250px_auto] relative pt-[72px] h-screen">
|
||||||
<section id="admin-sidebar" class="pt-8 pr-6 flex flex-col justify-between">
|
<section id="admin-sidebar" class="pt-8 pr-6 flex flex-col">
|
||||||
<SideBarButton
|
<SideBarButton
|
||||||
title="User"
|
title="User"
|
||||||
logo={AccountMultipleOutline}
|
logo={AccountMultipleOutline}
|
||||||
@ -84,7 +84,7 @@
|
|||||||
on:selected={onButtonClicked}
|
on:selected={onButtonClicked}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<div class="mb-6">
|
<div class="mb-6 mt-auto">
|
||||||
<StatusBox />
|
<StatusBox />
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
@ -92,7 +92,7 @@
|
|||||||
|
|
||||||
<section class="grid grid-cols-[250px_auto] relative pt-[72px] h-screen">
|
<section class="grid grid-cols-[250px_auto] relative pt-[72px] h-screen">
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
<section id="admin-sidebar" class="flex flex-col justify-between gap-4 pt-8 pr-6">
|
<section id="sidebar" class="flex flex-col gap-4 pt-8 pr-6">
|
||||||
<SideBarButton
|
<SideBarButton
|
||||||
title="Photos"
|
title="Photos"
|
||||||
logo={ImageOutline}
|
logo={ImageOutline}
|
||||||
@ -103,7 +103,7 @@
|
|||||||
|
|
||||||
<!-- Status Box -->
|
<!-- Status Box -->
|
||||||
|
|
||||||
<div class="mb-6">
|
<div class="mb-6 mt-auto">
|
||||||
<StatusBox />
|
<StatusBox />
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
Loading…
Reference in New Issue
Block a user