fix(ui): made changes to avoid overlapping

This commit is contained in:
Rohinish
2024-02-26 11:10:34 +05:30
committed by psychedelicious
parent d919022ba5
commit adba8489f2

View File

@ -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} />