mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): layer layout orientation
This commit is contained in:
parent
3f26880493
commit
e90775731d
@ -59,7 +59,7 @@ export const CALayerListItem = memo(({ layerId }: Props) => {
|
||||
<LayerDeleteButton layerId={layerId} />
|
||||
</Flex>
|
||||
{isOpen && (
|
||||
<Flex gap={3} px={3} pb={3}>
|
||||
<Flex flexDir="column" gap={3} px={3} pb={3}>
|
||||
<ControlAdapterLayerConfig id={controlNetId} />
|
||||
</Flex>
|
||||
)}
|
||||
|
@ -35,7 +35,7 @@ export const IPLayerListItem = memo(({ layerId }: Props) => {
|
||||
<LayerDeleteButton layerId={layerId} />
|
||||
</Flex>
|
||||
{isOpen && (
|
||||
<Flex gap={3} alignItems="center" px={3} pb={3} cursor="pointer">
|
||||
<Flex flexDir="column" gap={3} px={3} pb={3}>
|
||||
<ControlAdapterLayerConfig id={ipAdapterId} />
|
||||
</Flex>
|
||||
)}
|
||||
|
@ -69,7 +69,7 @@ export const RGLayerListItem = memo(({ layerId }: Props) => {
|
||||
<LayerDeleteButton layerId={layerId} />
|
||||
</Flex>
|
||||
{isOpen && (
|
||||
<Flex gap={3} px={3} pb={3}>
|
||||
<Flex flexDir="column" gap={3} px={3} pb={3}>
|
||||
{!hasPositivePrompt && !hasNegativePrompt && !hasIPAdapters && <AddPromptButtons layerId={layerId} />}
|
||||
{hasPositivePrompt && <RGLayerPositivePrompt layerId={layerId} />}
|
||||
{hasNegativePrompt && <RGLayerNegativePrompt layerId={layerId} />}
|
||||
|
Loading…
Reference in New Issue
Block a user