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} />
|
<LayerDeleteButton layerId={layerId} />
|
||||||
</Flex>
|
</Flex>
|
||||||
{isOpen && (
|
{isOpen && (
|
||||||
<Flex gap={3} px={3} pb={3}>
|
<Flex flexDir="column" gap={3} px={3} pb={3}>
|
||||||
<ControlAdapterLayerConfig id={controlNetId} />
|
<ControlAdapterLayerConfig id={controlNetId} />
|
||||||
</Flex>
|
</Flex>
|
||||||
)}
|
)}
|
||||||
|
@ -35,7 +35,7 @@ export const IPLayerListItem = memo(({ layerId }: Props) => {
|
|||||||
<LayerDeleteButton layerId={layerId} />
|
<LayerDeleteButton layerId={layerId} />
|
||||||
</Flex>
|
</Flex>
|
||||||
{isOpen && (
|
{isOpen && (
|
||||||
<Flex gap={3} alignItems="center" px={3} pb={3} cursor="pointer">
|
<Flex flexDir="column" gap={3} px={3} pb={3}>
|
||||||
<ControlAdapterLayerConfig id={ipAdapterId} />
|
<ControlAdapterLayerConfig id={ipAdapterId} />
|
||||||
</Flex>
|
</Flex>
|
||||||
)}
|
)}
|
||||||
|
@ -69,7 +69,7 @@ export const RGLayerListItem = memo(({ layerId }: Props) => {
|
|||||||
<LayerDeleteButton layerId={layerId} />
|
<LayerDeleteButton layerId={layerId} />
|
||||||
</Flex>
|
</Flex>
|
||||||
{isOpen && (
|
{isOpen && (
|
||||||
<Flex gap={3} px={3} pb={3}>
|
<Flex flexDir="column" gap={3} px={3} pb={3}>
|
||||||
{!hasPositivePrompt && !hasNegativePrompt && !hasIPAdapters && <AddPromptButtons layerId={layerId} />}
|
{!hasPositivePrompt && !hasNegativePrompt && !hasIPAdapters && <AddPromptButtons layerId={layerId} />}
|
||||||
{hasPositivePrompt && <RGLayerPositivePrompt layerId={layerId} />}
|
{hasPositivePrompt && <RGLayerPositivePrompt layerId={layerId} />}
|
||||||
{hasNegativePrompt && <RGLayerNegativePrompt layerId={layerId} />}
|
{hasNegativePrompt && <RGLayerNegativePrompt layerId={layerId} />}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user