Tweak camera icon vertical alignment

This commit is contained in:
Sam Becker 2023-10-10 15:49:52 -05:00
parent 53e6cb1da4
commit bb94f75270
2 changed files with 5 additions and 2 deletions

View File

@ -24,7 +24,7 @@ export default function PhotoCamera({
)}
>
{showIcon && <>
<IoMdCamera size={13} />
<IoMdCamera size={13} className="translate-y-[-0.25px]" />
&nbsp;
</>}
{!(hideApple && camera.make?.toLowerCase() === 'apple') &&

View File

@ -33,7 +33,10 @@ export default function CameraImageResponse({
}}
/>
<ImageCaption {...{ width, height, fontFamily }}>
<IoMdCamera size={height * .09} />
<IoMdCamera
size={height * .09}
style={{ transform: `translateY(${height * 0.002}px)` }}
/>
{make.toLowerCase() !== 'apple' &&
<span style={{textTransform: 'uppercase'}}>{make}</span>}
<span style={{textTransform: 'uppercase'}}>{model}</span>