From 0aa50d50a6ba5ce528bde8c87a957f11f0783607 Mon Sep 17 00:00:00 2001
From: Nayam Amarshe <25067102+NayamAmarshe@users.noreply.github.com>
Date: Mon, 19 Sep 2022 16:44:40 +0530
Subject: [PATCH] Polished UI
---
main/index.js | 2 +-
renderer/components/LeftPaneSteps.jsx | 82 ++++++++++++++-------------
renderer/styles/globals.css | 6 ++
3 files changed, 50 insertions(+), 40 deletions(-)
diff --git a/main/index.js b/main/index.js
index 47534a4..821a2b9 100644
--- a/main/index.js
+++ b/main/index.js
@@ -35,7 +35,7 @@ app.on("ready", async () => {
mainWindow = new BrowserWindow({
icon: join(__dirname, "build", "icon.png"),
width: 1100,
- height: 700,
+ height: 740,
minHeight: 500,
minWidth: 500,
show: false,
diff --git a/renderer/components/LeftPaneSteps.jsx b/renderer/components/LeftPaneSteps.jsx
index c053218..1fa4975 100644
--- a/renderer/components/LeftPaneSteps.jsx
+++ b/renderer/components/LeftPaneSteps.jsx
@@ -11,7 +11,7 @@ function LeftPaneSteps(props) {
{/* BATCH OPTION */}
Batch Upscale:
@@ -32,7 +32,7 @@ function LeftPaneSteps(props) {
{/* STEP 1 */}
-
Step 1
+
Step 1
{/* STEP 3 */}
-
Step 3
-
- Defaults to Image's path
-
+
Step 3
+
Defaults to Image's path
diff --git a/renderer/styles/globals.css b/renderer/styles/globals.css
index 37f2e42..3395cba 100644
--- a/renderer/styles/globals.css
+++ b/renderer/styles/globals.css
@@ -3,6 +3,9 @@
@tailwind utilities;
@layer base {
+ * {
+ @apply select-none;
+ }
::-webkit-scrollbar {
@apply w-3;
}
@@ -42,6 +45,9 @@
.bg-gradient-blue {
@apply bg-gradient-to-br from-blue-500 to-sky-400 hover:from-sky-400 hover:to-blue-500;
}
+ .step-heading {
+ @apply mb-2 font-medium text-white/80;
+ }
}
.animate-step-in {