mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): Current Image Buttons position
This commit is contained in:
parent
a824f47bc6
commit
db16ca0079
@ -60,29 +60,34 @@ const CurrentImageDisplay = () => {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Flex
|
<Flex
|
||||||
|
flexDirection="column"
|
||||||
sx={{
|
sx={{
|
||||||
w: 'full',
|
w: 'full',
|
||||||
h: 'full',
|
h: 'full',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
justifyContent: 'center',
|
|
||||||
gap: 4,
|
gap: 4,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
<CurrentImageButtons />
|
||||||
{hasAnImageToDisplay ? (
|
{hasAnImageToDisplay ? (
|
||||||
<CurrentImagePreview />
|
<CurrentImagePreview />
|
||||||
) : (
|
) : (
|
||||||
<Icon
|
<Flex
|
||||||
as={MdPhoto}
|
width="full"
|
||||||
sx={{
|
height="full"
|
||||||
boxSize: 24,
|
alignItems="center"
|
||||||
color: 'base.500',
|
justifyContent="center"
|
||||||
}}
|
>
|
||||||
/>
|
<Icon
|
||||||
|
as={MdPhoto}
|
||||||
|
sx={{
|
||||||
|
boxSize: 24,
|
||||||
|
color: 'base.500',
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
</Flex>
|
||||||
)}
|
)}
|
||||||
</Flex>
|
</Flex>
|
||||||
<Box sx={{ position: 'absolute', top: 0 }}>
|
|
||||||
<CurrentImageButtons />
|
|
||||||
</Box>
|
|
||||||
</Flex>
|
</Flex>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user