mirror of
https://github.com/immich-app/immich.git
synced 2024-11-28 09:33:27 +02:00
fix: make HTML valid (#11465)
This commit is contained in:
parent
8ee8450d18
commit
82b899649d
@ -41,16 +41,14 @@
|
|||||||
{#each groupedAlbums as albumGroup (albumGroup.id)}
|
{#each groupedAlbums as albumGroup (albumGroup.id)}
|
||||||
{@const isCollapsed = isAlbumGroupCollapsed($albumViewSettings, albumGroup.id)}
|
{@const isCollapsed = isAlbumGroupCollapsed($albumViewSettings, albumGroup.id)}
|
||||||
{@const iconRotation = isCollapsed ? 'rotate-0' : 'rotate-90'}
|
{@const iconRotation = isCollapsed ? 'rotate-0' : 'rotate-90'}
|
||||||
<button
|
|
||||||
type="button"
|
|
||||||
on:click={() => toggleAlbumGroupCollapsing(albumGroup.id)}
|
|
||||||
class="flex w-full mt-4 rounded-md"
|
|
||||||
aria-expanded={!isCollapsed}
|
|
||||||
>
|
|
||||||
<tbody
|
<tbody
|
||||||
class="block w-full overflow-y-auto rounded-md border dark:border-immich-dark-gray dark:text-immich-dark-fg"
|
class="block w-full overflow-y-auto rounded-md border dark:border-immich-dark-gray dark:text-immich-dark-fg"
|
||||||
>
|
>
|
||||||
<tr class="flex w-full place-items-center p-2 md:pl-5 md:pr-5 md:pt-3 md:pb-3">
|
<tr
|
||||||
|
class="flex w-full place-items-center p-2 md:pl-5 md:pr-5 md:pt-3 md:pb-3"
|
||||||
|
on:click={() => toggleAlbumGroupCollapsing(albumGroup.id)}
|
||||||
|
aria-expanded={!isCollapsed}
|
||||||
|
>
|
||||||
<td class="text-md text-left -mb-1">
|
<td class="text-md text-left -mb-1">
|
||||||
<Icon
|
<Icon
|
||||||
path={mdiChevronRight}
|
path={mdiChevronRight}
|
||||||
@ -64,7 +62,6 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</button>
|
|
||||||
{#if !isCollapsed}
|
{#if !isCollapsed}
|
||||||
<tbody
|
<tbody
|
||||||
class="block w-full overflow-y-auto rounded-md border dark:border-immich-dark-gray dark:text-immich-dark-fg mt-4"
|
class="block w-full overflow-y-auto rounded-md border dark:border-immich-dark-gray dark:text-immich-dark-fg mt-4"
|
||||||
|
Loading…
Reference in New Issue
Block a user