Styling Updates

- Moved Inpaint Replace higher in the options panel
- Fixed inpaint replace switch getting cut off slightly by padding a bit.
This commit is contained in:
blessedcoolant 2022-10-28 07:40:31 +13:00 committed by psychedelicious
parent a5c77ff926
commit 2af8139029
2 changed files with 14 additions and 8 deletions

View File

@ -55,14 +55,13 @@ export default function InpaintingSettings() {
};
return (
<>
<BoundingBoxSettings />
<IAIButton
label="Clear Brush History"
onClick={handleClearBrushHistory}
tooltip="Clears brush stroke history"
disabled={futureLines.length > 0 || pastLines.length > 0 ? false : true}
/>
<div style={{ display: 'flex', alignItems: 'center' }}>
<div
style={{
display: 'flex',
alignItems: 'center',
padding: '0 1rem 0 0.2rem',
}}
>
<IAINumberInput
label="Inpaint Replace"
value={inpaintReplace}
@ -84,6 +83,13 @@ export default function InpaintingSettings() {
}
/>
</div>
<BoundingBoxSettings />
<IAIButton
label="Clear Brush History"
onClick={handleClearBrushHistory}
tooltip="Clears brush stroke history"
disabled={futureLines.length > 0 || pastLines.length > 0 ? false : true}
/>
</>
);
}