Tweak tag of image layout
This commit is contained in:
parent
69471dacdf
commit
a85d5091a8
@ -34,18 +34,22 @@ export default function TagImageResponse({
|
|||||||
height,
|
height,
|
||||||
fontFamily,
|
fontFamily,
|
||||||
icon: isTagFavs(tag)
|
icon: isTagFavs(tag)
|
||||||
? <IconFavs
|
? <span tw="text-amber-500 inline-flex ">
|
||||||
|
<IconFavs
|
||||||
size={height * .066}
|
size={height * .066}
|
||||||
style={{
|
style={{
|
||||||
// Fix horizontal distortion in icon size
|
// Fix horizontal distortion in icon size
|
||||||
width: height * .076,
|
width: height * .076,
|
||||||
marginRight: height * .015,
|
marginRight: height * .015,
|
||||||
|
transform: `translateY(${-height * .0015}px)`,
|
||||||
}}
|
}}
|
||||||
|
highlight
|
||||||
/>
|
/>
|
||||||
|
</span>
|
||||||
: <IconTag
|
: <IconTag
|
||||||
size={height * .0725}
|
size={height * .07}
|
||||||
style={{
|
style={{
|
||||||
transform: `translateY(${height * .007}px)`,
|
transform: `translateY(${height * .004}px)`,
|
||||||
marginRight: height * .01,
|
marginRight: height * .01,
|
||||||
}}
|
}}
|
||||||
/>,
|
/>,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user