mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-16 11:25:32 -05:00
fix(ui): better node footer spacing
This commit is contained in:
@@ -45,6 +45,7 @@ export const InvControl = memo(
|
||||
orientation={orientation}
|
||||
isDisabled={isDisabled}
|
||||
{...formControlProps}
|
||||
{...ctx.controlProps}
|
||||
>
|
||||
<Flex className="invcontrol-label-wrapper">
|
||||
{label && (
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import type { FormLabelProps } from '@chakra-ui/react';
|
||||
import type { FormControlProps, FormLabelProps } from '@chakra-ui/react';
|
||||
import type { PropsWithChildren } from 'react';
|
||||
import { createContext, memo } from 'react';
|
||||
|
||||
export type InvControlGroupProps = {
|
||||
labelProps?: FormLabelProps;
|
||||
controlProps?: FormControlProps;
|
||||
isDisabled?: boolean;
|
||||
orientation?: 'horizontal' | 'vertical';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user