mirror of
https://github.com/immich-app/immich.git
synced 2025-04-16 13:06:24 +02:00
fix(web): consistent combobox style + improve color contrast (#7353)
This commit is contained in:
parent
2c9dd18f1b
commit
6bb30291de
2 changed files with 3 additions and 3 deletions
web/src/lib/components
|
@ -52,7 +52,7 @@
|
|||
};
|
||||
</script>
|
||||
|
||||
<div class="relative w-full" use:clickOutside on:outclick={handleOutClick}>
|
||||
<div class="relative w-full dark:text-gray-300 text-gray-700 text-base" use:clickOutside on:outclick={handleOutClick}>
|
||||
<div>
|
||||
{#if isOpen}
|
||||
<div class="absolute inset-y-0 left-0 flex items-center pl-3">
|
||||
|
@ -96,7 +96,7 @@
|
|||
<div
|
||||
role="listbox"
|
||||
transition:fly={{ duration: 250 }}
|
||||
class="absolute text-left w-full max-h-64 overflow-y-auto bg-white dark:bg-gray-800 rounded-b-lg border border-t-0 border-gray-300 dark:border-gray-900 z-10"
|
||||
class="absolute text-left text-sm w-full max-h-64 overflow-y-auto bg-white dark:bg-gray-800 rounded-b-lg border border-t-0 border-gray-300 dark:border-gray-900 z-10"
|
||||
>
|
||||
{#if filteredOptions.length === 0}
|
||||
<div class="px-4 py-2 font-medium">No results</div>
|
||||
|
|
|
@ -80,7 +80,7 @@
|
|||
checked={$locale == undefined}
|
||||
on:toggle={handleToggleLocaleBrowser}
|
||||
>
|
||||
<p class="mt-2">{selectedDate}</p>
|
||||
<p class="mt-2 dark:text-gray-400">{selectedDate}</p>
|
||||
</SettingSwitch>
|
||||
</div>
|
||||
{#if $locale !== undefined}
|
||||
|
|
Loading…
Add table
Reference in a new issue