Skip to content

πŸ†™ Upscayl - #1 Free and Open Source AI Image Upscaler for Linux, MacOS and Windows.

Refactor LeftPaneImageSteps component

Nayam Amarsheeec704c47996
diff --git a/renderer/components/upscayl-tab/config/LeftPaneImageSteps.tsx b/renderer/components/upscayl-tab/config/LeftPaneImageSteps.tsx
index 2e700d5..b78503f 100644
--- a/renderer/components/upscayl-tab/config/LeftPaneImageSteps.tsx
+++ b/renderer/components/upscayl-tab/config/LeftPaneImageSteps.tsx
@@ -235,19 +235,21 @@ function LeftPaneImageSteps({
className="animate-step-in"
data-tooltip-content={outputPath}
data-tooltip-id="tooltip">
- <div className="step-heading flex items-center gap-2">
- <span>Step 3</span>
- {featureFlags.APP_STORE_BUILD && (
- <button
- className="badge badge-sm badge-outline cursor-pointer"
- onClick={() =>
- alert(
- "Due to MacOS App Store security restrictions, Upscayl requires you to select an output folder everytime you start it.\n\nTo avoid this, you can permanently save a default output folder in the Upscayl 'Settings' tab."
- )
- }>
- ?
- </button>
- )}
+ <div className="flex flex-col pb-2">
+ <div className="step-heading flex items-center gap-2">
+ <span className="leading-none">Step 3</span>
+ {featureFlags.APP_STORE_BUILD && (
+ <button
+ className="badge badge-sm badge-outline cursor-pointer"
+ onClick={() =>
+ alert(
+ "Due to MacOS App Store security restrictions, Upscayl requires you to select an output folder everytime you start it.\n\nTo avoid this, you can permanently save a default output folder in the Upscayl 'Settings' tab."
+ )
+ }>
+ ?
+ </button>
+ )}
+ </div>
{!outputPath && featureFlags.APP_STORE_BUILD && (
<div className="text-xs">
<span className="bg-base-200 font-medium uppercase text-base-content/50 rounded-btn px-2">