mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
ui: Simply collapse spacing
This commit is contained in:
parent
171a0eaf51
commit
8d4caaabb0
@ -86,8 +86,8 @@ const IAICollapse = (props: IAIToggleCollapseProps) => {
|
||||
<Collapse in={isOpen} animateOpacity style={{ overflow: 'unset' }}>
|
||||
<Box
|
||||
sx={{
|
||||
p: 2,
|
||||
pt: 3,
|
||||
p: 4,
|
||||
pb: 4,
|
||||
borderBottomRadius: 'base',
|
||||
bg: 'base.150',
|
||||
_dark: {
|
||||
|
@ -32,7 +32,7 @@ const ParamDynamicPromptsCollapse = () => {
|
||||
|
||||
return (
|
||||
<IAICollapse label="Dynamic Prompts" activeLabel={activeLabel}>
|
||||
<Flex sx={{ gap: 2, flexDir: 'column', pb: 2, px: 2 }}>
|
||||
<Flex sx={{ gap: 2, flexDir: 'column' }}>
|
||||
<ParamDynamicPromptsToggle />
|
||||
<ParamDynamicPromptsCombinatorial />
|
||||
<ParamDynamicPromptsMaxPrompts />
|
||||
|
@ -32,7 +32,7 @@ const ParamLoraCollapse = () => {
|
||||
|
||||
return (
|
||||
<IAICollapse label="LoRA" activeLabel={activeLabel}>
|
||||
<Flex sx={{ flexDir: 'column', gap: 2, px: 2, pb: 2 }}>
|
||||
<Flex sx={{ flexDir: 'column', gap: 2 }}>
|
||||
<ParamLoRASelect />
|
||||
<ParamLoraList />
|
||||
</Flex>
|
||||
|
@ -29,7 +29,7 @@ export default function ParamAdvancedCollapse() {
|
||||
|
||||
return (
|
||||
<IAICollapse label="Advanced" activeLabel={activeLabel}>
|
||||
<Flex sx={{ flexDir: 'column', gap: 2, px: 2, pb: 2 }}>
|
||||
<Flex sx={{ flexDir: 'column', gap: 2 }}>
|
||||
<ParamClipSkip />
|
||||
</Flex>
|
||||
</IAICollapse>
|
||||
|
@ -15,7 +15,7 @@ const ParamInfillCollapse = () => {
|
||||
|
||||
return (
|
||||
<IAICollapse label={t('parameters.infillScalingHeader')}>
|
||||
<Flex sx={{ gap: 2, flexDirection: 'column', pb: 2 }}>
|
||||
<Flex sx={{ gap: 2, flexDirection: 'column' }}>
|
||||
<SubParametersWrapper>
|
||||
<ParamInfillMethod />
|
||||
<ParamInfillTilesize />
|
||||
|
@ -69,7 +69,7 @@ const ParamControlNetCollapse = () => {
|
||||
|
||||
return (
|
||||
<IAICollapse label="ControlNet" activeLabel={activeLabel}>
|
||||
<Flex sx={{ flexDir: 'column', gap: 2, pb: 1 }}>
|
||||
<Flex sx={{ flexDir: 'column', gap: 2 }}>
|
||||
<Flex
|
||||
sx={{
|
||||
w: '100%',
|
||||
|
@ -42,7 +42,7 @@ const ParamNoiseCollapse = () => {
|
||||
label={t('parameters.noiseSettings')}
|
||||
activeLabel={activeLabel}
|
||||
>
|
||||
<Flex sx={{ gap: 2, flexDirection: 'column', px: 2, pb: 2 }}>
|
||||
<Flex sx={{ gap: 2, flexDirection: 'column' }}>
|
||||
<ParamNoiseToggle />
|
||||
<ParamCpuNoiseToggle />
|
||||
{isPerlinNoiseEnabled && <ParamPerlinNoise />}
|
||||
|
@ -50,7 +50,7 @@ const ParamSeamlessCollapse = () => {
|
||||
label={t('parameters.seamlessTiling')}
|
||||
activeLabel={activeLabel}
|
||||
>
|
||||
<Flex sx={{ gap: 5, px: 2 }}>
|
||||
<Flex sx={{ gap: 5 }}>
|
||||
<Box flexGrow={1}>
|
||||
<ParamSeamlessXAxis />
|
||||
</Box>
|
||||
|
@ -32,7 +32,7 @@ const ParamSDXLRefinerCollapse = () => {
|
||||
|
||||
return (
|
||||
<IAICollapse label="Refiner" activeLabel={activeLabel}>
|
||||
<Flex sx={{ gap: 2, flexDir: 'column', px: 2, pb: 2 }}>
|
||||
<Flex sx={{ gap: 2, flexDir: 'column' }}>
|
||||
<ParamUseSDXLRefiner />
|
||||
<ParamSDXLRefinerModelSelect />
|
||||
<Flex gap={2} flexDirection={shouldUseSliders ? 'column' : 'row'}>
|
||||
|
@ -37,8 +37,6 @@ const SDXLImageToImageTabCoreParameters = () => {
|
||||
sx={{
|
||||
flexDirection: 'column',
|
||||
gap: 3,
|
||||
px: 2,
|
||||
pb: 2,
|
||||
}}
|
||||
>
|
||||
{shouldUseSliders ? (
|
||||
|
@ -35,8 +35,6 @@ const SDXLUnifiedCanvasTabCoreParameters = () => {
|
||||
sx={{
|
||||
flexDirection: 'column',
|
||||
gap: 3,
|
||||
px: 2,
|
||||
pb: 2,
|
||||
}}
|
||||
>
|
||||
{shouldUseSliders ? (
|
||||
|
@ -37,8 +37,6 @@ const ImageToImageTabCoreParameters = () => {
|
||||
sx={{
|
||||
flexDirection: 'column',
|
||||
gap: 3,
|
||||
px: 2,
|
||||
pb: 2,
|
||||
}}
|
||||
>
|
||||
{shouldUseSliders ? (
|
||||
|
@ -34,8 +34,6 @@ const TextToImageTabCoreParameters = () => {
|
||||
sx={{
|
||||
flexDirection: 'column',
|
||||
gap: 3,
|
||||
px: 2,
|
||||
pb: 2,
|
||||
}}
|
||||
>
|
||||
{shouldUseSliders ? (
|
||||
|
@ -35,8 +35,6 @@ const UnifiedCanvasCoreParameters = () => {
|
||||
sx={{
|
||||
flexDirection: 'column',
|
||||
gap: 3,
|
||||
px: 2,
|
||||
pb: 2,
|
||||
}}
|
||||
>
|
||||
{shouldUseSliders ? (
|
||||
|
Loading…
Reference in New Issue
Block a user