From 64663f5eeca8d2f37680c38b08a5db1adc405308 Mon Sep 17 00:00:00 2001 From: Sean Sube Date: Sat, 21 Jan 2023 14:44:05 -0600 Subject: [PATCH] fix(gui): emphasize the generate buttons, align fill color picker --- gui/src/components/tab/Img2Img.tsx | 2 +- gui/src/components/tab/Inpaint.tsx | 26 ++++++++++++++++++-------- gui/src/components/tab/Settings.tsx | 2 +- gui/src/components/tab/Txt2Img.tsx | 2 +- gui/src/components/tab/Upscale.tsx | 2 +- 5 files changed, 22 insertions(+), 12 deletions(-) diff --git a/gui/src/components/tab/Img2Img.tsx b/gui/src/components/tab/Img2Img.tsx index 43a7d325..8a2840d8 100644 --- a/gui/src/components/tab/Img2Img.tsx +++ b/gui/src/components/tab/Img2Img.tsx @@ -65,7 +65,7 @@ export function Img2Img() { diff --git a/gui/src/components/tab/Inpaint.tsx b/gui/src/components/tab/Inpaint.tsx index fb0893c6..d763b6d7 100644 --- a/gui/src/components/tab/Inpaint.tsx +++ b/gui/src/components/tab/Inpaint.tsx @@ -1,5 +1,5 @@ import { doesExist, mustExist } from '@apextoaster/js-utils'; -import { Box, Button, Stack } from '@mui/material'; +import { Box, Button, FormControlLabel, Stack } from '@mui/material'; import * as React from 'react'; import { useMutation, useQuery, useQueryClient } from 'react-query'; import { useStore } from 'zustand'; @@ -151,19 +151,29 @@ export function Inpaint() { }} /> - { - setInpaint({ - fillColor: event.target.value, - }); - }} /> - + { + setInpaint({ + fillColor: event.target.value, + }); + }} + /> + } + /> diff --git a/gui/src/components/tab/Settings.tsx b/gui/src/components/tab/Settings.tsx index 73616765..eea73f9d 100644 --- a/gui/src/components/tab/Settings.tsx +++ b/gui/src/components/tab/Settings.tsx @@ -38,7 +38,7 @@ export function Settings() { { setRoot(event.target.value); }} /> - diff --git a/gui/src/components/tab/Upscale.tsx b/gui/src/components/tab/Upscale.tsx index 8e9bef4e..a7d20442 100644 --- a/gui/src/components/tab/Upscale.tsx +++ b/gui/src/components/tab/Upscale.tsx @@ -46,7 +46,7 @@ export function Upscale() {