Skip to content

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

Fix styles

Nayam Amarshef1d1e8353b95
diff --git a/renderer/components/upscayl-tab/config/LeftPaneImageSteps.tsx b/renderer/components/upscayl-tab/config/LeftPaneImageSteps.tsx
index 02080b9..94d37aa 100644
--- a/renderer/components/upscayl-tab/config/LeftPaneImageSteps.tsx
+++ b/renderer/components/upscayl-tab/config/LeftPaneImageSteps.tsx
@@ -176,7 +176,7 @@ function LeftPaneImageSteps({
handleModelChange(e);
setCurrentModel({ label: e.label, value: e.value });
}}
- className="react-select-container"
+ className="react-select-container active:w-full focus:w-full hover:w-full transition-all"
classNamePrefix="react-select"
value={currentModel}
/>
diff --git a/renderer/styles/globals.css b/renderer/styles/globals.css
index bca20a6..50f6e63 100644
--- a/renderer/styles/globals.css
+++ b/renderer/styles/globals.css
@@ -91,6 +91,9 @@
.react-select-container {
@apply w-40;
}
+ .full-width {
+ @apply w-full;
+ }
.react-select-container .react-select__control {
@apply rounded-btn h-12 cursor-pointer !border-0 !border-none !border-transparent bg-primary shadow-none;
}
@@ -158,7 +161,19 @@
}
[data-theme="upscayl"] .react-select-container .react-select__control {
- @apply rounded-btn h-10 ring-1 ring-slate-500 cursor-pointer !border-0 !border-none !border-transparent bg-primary shadow-none;
+ @apply ring-1 ring-slate-500 rounded-btn h-10 cursor-pointer !border-0 !border-none !border-transparent bg-primary shadow-none;
+}
+
+[data-theme="upscayl"] .react-select-container .react-select__single-value {
+ @apply text-primary-content normal-case font-medium;
+}
+
+[data-theme="upscayl"] .react-select-container .react-select__input-container {
+ @apply text-xs text-primary-content normal-case font-medium;
+}
+
+[data-theme="upscayl"] .react-select-container .react-select__menu {
+ @apply rounded-lg bg-primary p-1 normal-case font-medium;
}
.mac-titlebar {