From d0b9d36894d477cdf6370a9b248403519759f453 Mon Sep 17 00:00:00 2001 From: JovannMC Date: Fri, 10 Jan 2025 21:17:34 +0300 Subject: [PATCH] Match figma a bit more --- .../functional/ConversionPanel.svelte | 2 +- src/lib/components/functional/Dropdown.svelte | 17 +++-- src/routes/convert/+page.svelte | 66 ++++++++++--------- 3 files changed, 46 insertions(+), 39 deletions(-) diff --git a/src/lib/components/functional/ConversionPanel.svelte b/src/lib/components/functional/ConversionPanel.svelte index 4f75440..823e69b 100644 --- a/src/lib/components/functional/ConversionPanel.svelte +++ b/src/lib/components/functional/ConversionPanel.svelte @@ -28,7 +28,7 @@
-

Set all to

+

Set all to

{#if files.requiredConverters.length === 1} diff --git a/src/lib/components/functional/Dropdown.svelte b/src/lib/components/functional/Dropdown.svelte index 7daabb1..515bdd4 100644 --- a/src/lib/components/functional/Dropdown.svelte +++ b/src/lib/components/functional/Dropdown.svelte @@ -8,14 +8,14 @@ options: string[]; selected?: string; onselect?: (option: string) => void; - disabled?: boolean + disabled?: boolean; }; let { options, selected = $bindable(options[0]), onselect, - disabled + disabled, }: Props = $props(); let open = $state(false); @@ -48,16 +48,21 @@ }); -
+
-
-
- {file.name} +
+
+
+ {file.name} +
-
-
- file.result && (file.result = null)} - /> -
- - +
+ file.result && (file.result = null)} + /> +
+ + +