mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
style(ui): tweak image dimension badge overlay styles
This commit is contained in:
parent
d1e445fa49
commit
cc03fcbcb6
@ -158,16 +158,20 @@ const GalleryImage = (props: HoverableImageProps) => {
|
|||||||
{isHovered && (
|
{isHovered && (
|
||||||
<Text
|
<Text
|
||||||
position="absolute"
|
position="absolute"
|
||||||
background="base.950"
|
background="base.900"
|
||||||
color="accent.50"
|
color="base.50"
|
||||||
fontSize="base.50"
|
fontSize="sm"
|
||||||
bottom={1.5}
|
fontWeight="semibold"
|
||||||
left={1}
|
bottom={0}
|
||||||
px={2}
|
left={0}
|
||||||
opacity={0.7}
|
opacity={0.7}
|
||||||
borderRadius="base"
|
px={2}
|
||||||
|
lineHeight={1.25}
|
||||||
|
borderTopEndRadius="base"
|
||||||
|
borderBottomStartRadius="base"
|
||||||
sx={badgeSx}
|
sx={badgeSx}
|
||||||
>{`${imageDTO.width}x${imageDTO.height}`}</Text>)}
|
>{`${imageDTO.width}x${imageDTO.height}`}</Text>
|
||||||
|
)}
|
||||||
<IAIDndImageIcon onClick={toggleStarredState} icon={starIcon} tooltip={starTooltip} />
|
<IAIDndImageIcon onClick={toggleStarredState} icon={starIcon} tooltip={starTooltip} />
|
||||||
|
|
||||||
{isHovered && shift && (
|
{isHovered && shift && (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user