Tweak tag of image layout

This commit is contained in:
Sam Becker 2025-08-18 12:57:36 -05:00
parent 69471dacdf
commit a85d5091a8

View File

@ -34,18 +34,22 @@ export default function TagImageResponse({
height,
fontFamily,
icon: isTagFavs(tag)
? <IconFavs
size={height * .066}
style={{
// Fix horizontal distortion in icon size
width: height * .076,
marginRight: height * .015,
}}
/>
? <span tw="text-amber-500 inline-flex ">
<IconFavs
size={height * .066}
style={{
// Fix horizontal distortion in icon size
width: height * .076,
marginRight: height * .015,
transform: `translateY(${-height * .0015}px)`,
}}
highlight
/>
</span>
: <IconTag
size={height * .0725}
size={height * .07}
style={{
transform: `translateY(${height * .007}px)`,
transform: `translateY(${height * .004}px)`,
marginRight: height * .01,
}}
/>,