mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): made changes to avoid overlapping
This commit is contained in:
committed by
psychedelicious
parent
d919022ba5
commit
adba8489f2
@ -158,15 +158,14 @@ const GalleryImage = (props: HoverableImageProps) => {
|
|||||||
{isHovered && (
|
{isHovered && (
|
||||||
<Text
|
<Text
|
||||||
position="absolute"
|
position="absolute"
|
||||||
background="white"
|
background="black"
|
||||||
color="black"
|
color="white"
|
||||||
fontSize="base.50"
|
fontSize="12px"
|
||||||
bottom={0}
|
bottom={1.5}
|
||||||
right={0}
|
right={8}
|
||||||
px={2}
|
px={2}
|
||||||
opacity={0.7}
|
opacity={0.7}
|
||||||
borderTopLeftRadius="base"
|
borderRadius="base"
|
||||||
borderBottomRightRadius="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} />
|
||||||
|
Reference in New Issue
Block a user