fix: improve styles for each <img> element + add `border` color for heart icon

This commit is contained in:
pheralb
2025-11-11 00:12:44 +00:00
parent 3c8886bd23
commit 2d87c8a334
2 changed files with 5 additions and 6 deletions
+4 -1
View File
@@ -36,6 +36,9 @@
<HeartIcon
size={16}
strokeWidth={1.8}
class={cn(isFavorite && "fill-red-500 dark:fill-red-600")}
class={cn(
isFavorite &&
"fill-red-500 text-red-600 dark:fill-red-600 dark:text-red-400",
)}
/>
</button>
+1 -5
View File
@@ -52,7 +52,7 @@
)}
>
<!-- Image Options -->
<div class="flex w-full items-center justify-end space-x-3">
<div class="flex w-full items-center justify-end space-x-3 pb-0.5">
{#if svgInfo.brandUrl !== undefined}
<a
href={svgInfo.brandUrl}
@@ -77,7 +77,6 @@
src={getSvgImgUrl({ url: svgInfo.wordmark, isDark: true })}
alt={svgInfo.title}
title={svgInfo.title}
width="140"
height="40"
/>
<img
@@ -86,7 +85,6 @@
src={getSvgImgUrl({ url: svgInfo.wordmark, isDark: false })}
alt={svgInfo.title}
title={svgInfo.title}
width="140"
height="40"
/>
{:else}
@@ -96,7 +94,6 @@
src={getSvgImgUrl({ url: svgInfo.route, isDark: true })}
alt={svgInfo.title}
title={svgInfo.title}
width="140"
height="40"
/>
<img
@@ -105,7 +102,6 @@
src={getSvgImgUrl({ url: svgInfo.route, isDark: false })}
alt={svgInfo.title}
title={svgInfo.title}
width="140"
height="40"
/>
{/if}