Skip to content

armgit / VERT

Public Imported from GitHub
0

The next-generation file converter. Open source, fully local* and free forever.

fix: dropdown & language fixex

Maya6b8967f49a53
diff --git a/messages/es.json b/messages/es.json
index 85af366..66d5d12 100644
--- a/messages/es.json
+++ b/messages/es.json
@@ -47,7 +47,7 @@
"convert_all": "Convertir todo",
"download_all": "Comprimir todo",
"remove_all": "Quitar todos los archivos",
- "set_all_to": "Marcar todos:",
+ "set_all_to": "Cambiar todos a",
"na": "N/A"
},
"tooltips": {
diff --git a/src/lib/components/functional/Dropdown.svelte b/src/lib/components/functional/Dropdown.svelte
index 102b14d..0bfa1a2 100644
--- a/src/lib/components/functional/Dropdown.svelte
+++ b/src/lib/components/functional/Dropdown.svelte
@@ -101,7 +101,7 @@
{/each}
</div>
<ChevronDown
- class="w-4 h-4 ml-4 mt-0.5 flex-shrink-0"
+ class="w-4 h-4 ml-3 mt-0.5 flex-shrink-0"
style="transform: rotate({open
? 180
: 0}deg); transition: transform {duration}ms {transition};"
diff --git a/src/lib/components/functional/FormatDropdown.svelte b/src/lib/components/functional/FormatDropdown.svelte
index 60b3a91..a72a0d4 100644
--- a/src/lib/components/functional/FormatDropdown.svelte
+++ b/src/lib/components/functional/FormatDropdown.svelte
@@ -288,7 +288,7 @@
{/if}
</div>
<ChevronDown
- class="w-4 h-4 ml-4 mt-0.5 flex-shrink-0"
+ class="w-4 h-4 ml-3 mt-0.5 flex-shrink-0"
style="transform: rotate({open
? 180
: 0}deg); transition: transform {duration}ms {transition};"
@@ -364,8 +364,11 @@
{#each filteredData.formats as format}
<button
class="w-full p-2 text-center rounded-xl
- {format === selected ? 'bg-accent text-black' : 'hover:bg-panel'}
- {format === from ? 'bg-separator' : ''}"
+ {format === selected
+ ? 'bg-accent text-black'
+ : format === from
+ ? 'bg-separator'
+ : 'hover:bg-panel'}"
onclick={() => selectOption(format)}
>
{format}