1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-24 08:52:28 +02:00

fix(web): small style issues (#2578)

This commit is contained in:
Michel Heusschen 2023-05-26 21:44:06 +02:00 committed by GitHub
parent 1c2d83e2c7
commit f370dc3929
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -172,7 +172,9 @@
<div><ImageOutline size="24" /></div>
<div>
<p>{`${asset.originalFileName}.${asset.originalPath.split('.')[1]}` || ''}</p>
<p class="break-all">
{`${asset.originalFileName}.${asset.originalPath.split('.')[1]}` || ''}
</p>
<div class="flex text-sm gap-2">
{#if asset.exifInfo.exifImageHeight && asset.exifInfo.exifImageWidth}
{#if getMegapixel(asset.exifInfo.exifImageHeight, asset.exifInfo.exifImageWidth)}

View File

@ -4,7 +4,7 @@
<button
on:click
class="bg-slate-100 hover:bg-gray-200 dark:text-immich-dark-bg p-4 w-full text-left text-sm font-medium focus:outline-none focus:ring-inset focus:ring-2"
class="bg-slate-100 hover:bg-gray-200 text-immich-fg dark:text-immich-dark-bg p-4 w-full text-left text-sm font-medium focus:outline-none focus:ring-inset focus:ring-2"
role="menuitem"
>
{#if text}