mirror of
https://github.com/samsonjs/immich.git
synced 2026-04-27 15:07:45 +00:00
fix: date time picker text color in dark mode (#25883)
This commit is contained in:
parent
6bd60270b4
commit
e9f8521a50
2 changed files with 2 additions and 11 deletions
|
|
@ -59,12 +59,7 @@
|
||||||
size="small"
|
size="small"
|
||||||
>
|
>
|
||||||
<Label for="datetime" class="block mb-1">{$t('date_and_time')}</Label>
|
<Label for="datetime" class="block mb-1">{$t('date_and_time')}</Label>
|
||||||
<DateInput
|
<DateInput class="immich-form-input w-full mb-2" id="datetime" type="datetime-local" bind:value={selectedDate} />
|
||||||
class="immich-form-input text-gray-700 w-full mb-2"
|
|
||||||
id="datetime"
|
|
||||||
type="datetime-local"
|
|
||||||
bind:value={selectedDate}
|
|
||||||
/>
|
|
||||||
{#if timezoneInput}
|
{#if timezoneInput}
|
||||||
<div class="w-full">
|
<div class="w-full">
|
||||||
<Combobox bind:selectedOption label={$t('timezone')} options={timezones} placeholder={$t('search_timezone')} />
|
<Combobox bind:selectedOption label={$t('timezone')} options={timezones} placeholder={$t('search_timezone')} />
|
||||||
|
|
|
||||||
|
|
@ -77,11 +77,7 @@
|
||||||
</Field>
|
</Field>
|
||||||
{#if showRelative}
|
{#if showRelative}
|
||||||
<Label for="relativedatetime" class="block mb-1">{$t('offset')}</Label>
|
<Label for="relativedatetime" class="block mb-1">{$t('offset')}</Label>
|
||||||
<DurationInput
|
<DurationInput class="immich-form-input w-full mb-2" id="relativedatetime" bind:value={selectedDuration} />
|
||||||
class="immich-form-input w-full text-gray-700 mb-2"
|
|
||||||
id="relativedatetime"
|
|
||||||
bind:value={selectedDuration}
|
|
||||||
/>
|
|
||||||
{:else}
|
{:else}
|
||||||
<Label for="datetime" class="block mb-1">{$t('date_and_time')}</Label>
|
<Label for="datetime" class="block mb-1">{$t('date_and_time')}</Label>
|
||||||
<DateInput class="immich-form-input w-full mb-2" id="datetime" type="datetime-local" bind:value={selectedDate} />
|
<DateInput class="immich-form-input w-full mb-2" id="datetime" type="datetime-local" bind:value={selectedDate} />
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue