fix(web): Remove excess spacing on #asset-grid and search bar (#7910)

* fix(web): Remove excess left-margin on #asset-grid

* fix(web): Remove excess left-padding on search bar

---------

Co-authored-by: natedawg <nate@natedawg.net>
This commit is contained in:
natedawg 2024-03-12 18:03:37 -07:00 committed by GitHub
parent b07ed3f615
commit 92804fe4b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -387,7 +387,7 @@
<!-- Right margin MUST be equal to the width of immich-scrubbable-scrollbar --> <!-- Right margin MUST be equal to the width of immich-scrubbable-scrollbar -->
<section <section
id="asset-grid" id="asset-grid"
class="scrollbar-hidden h-full overflow-y-auto pb-[60px] {isEmpty ? 'm-0' : 'ml-4 mr-[60px]'}" class="scrollbar-hidden h-full overflow-y-auto pb-[60px] {isEmpty ? 'm-0' : 'mr-[60px]'}"
bind:clientHeight={viewport.height} bind:clientHeight={viewport.height}
bind:clientWidth={viewport.width} bind:clientWidth={viewport.width}
bind:this={element} bind:this={element}

View File

@ -51,7 +51,7 @@
</h1> </h1>
</a> </a>
<div class="flex justify-between gap-16 pr-6"> <div class="flex justify-between gap-16 pr-6">
<div class="hidden w-full max-w-5xl flex-1 pl-4 sm:block"> <div class="hidden w-full max-w-5xl flex-1 sm:block">
{#if $featureFlags.search} {#if $featureFlags.search}
<SearchBar grayTheme={true} /> <SearchBar grayTheme={true} />
{/if} {/if}