Tweak camera icon vertical alignment
This commit is contained in:
parent
53e6cb1da4
commit
bb94f75270
@ -24,7 +24,7 @@ export default function PhotoCamera({
|
||||
)}
|
||||
>
|
||||
{showIcon && <>
|
||||
<IoMdCamera size={13} />
|
||||
<IoMdCamera size={13} className="translate-y-[-0.25px]" />
|
||||
|
||||
</>}
|
||||
{!(hideApple && camera.make?.toLowerCase() === 'apple') &&
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user