mirror of
https://github.com/immich-app/immich
synced 2025-06-06 01:13:58 +00:00
fix(web): modal colors (#18332)
* feat(web): clear person birthdate * fix(web): modal colors
This commit is contained in:
parent
1219fd82a0
commit
8ab5040351
@ -30,7 +30,7 @@
|
||||
};
|
||||
</script>
|
||||
|
||||
<Modal {title} onClose={() => onClose(false)} {size} class="bg-light text-dark">
|
||||
<Modal {title} onClose={() => onClose(false)} {size}>
|
||||
<ModalBody>
|
||||
{#if promptSnippet}{@render promptSnippet()}{:else}
|
||||
<p>{prompt}</p>
|
||||
|
@ -12,13 +12,7 @@
|
||||
const { onClose, newPassword }: Props = $props();
|
||||
</script>
|
||||
|
||||
<Modal
|
||||
title={$t('password_reset_success')}
|
||||
icon={mdiCheck}
|
||||
onClose={() => onClose()}
|
||||
size="small"
|
||||
class="bg-light text-dark"
|
||||
>
|
||||
<Modal title={$t('password_reset_success')} icon={mdiCheck} onClose={() => onClose()} size="small">
|
||||
<ModalBody>
|
||||
<div class="flex flex-col gap-4">
|
||||
<Text>{$t('admin.user_password_has_been_reset')}</Text>
|
||||
|
@ -81,7 +81,7 @@
|
||||
};
|
||||
</script>
|
||||
|
||||
<Modal title={$t('create_new_user')} {onClose} size="small" class="text-dark bg-light">
|
||||
<Modal title={$t('create_new_user')} {onClose} size="small">
|
||||
<ModalBody>
|
||||
<form onsubmit={onSubmit} autocomplete="off" id="create-new-user-form">
|
||||
{#if error}
|
||||
|
@ -51,7 +51,7 @@
|
||||
};
|
||||
</script>
|
||||
|
||||
<Modal title={$t('edit_user')} size="small" icon={mdiAccountEditOutline} {onClose} class="text-dark bg-light">
|
||||
<Modal title={$t('edit_user')} size="small" icon={mdiAccountEditOutline} {onClose}>
|
||||
<ModalBody>
|
||||
<form onsubmit={onSubmit} autocomplete="off" id="edit-user-form">
|
||||
<div class="mb-4 flex flex-col gap-2">
|
||||
|
@ -23,7 +23,7 @@
|
||||
};
|
||||
</script>
|
||||
|
||||
<Modal title={$t('restore_user')} {onClose} icon={mdiDeleteRestore} size="small" class="bg-light text-dark">
|
||||
<Modal title={$t('restore_user')} {onClose} icon={mdiDeleteRestore} size="small">
|
||||
<ModalBody>
|
||||
<p>
|
||||
<FormatMessage key="admin.user_restore_description" values={{ user: user.name }}>
|
||||
|
Loading…
x
Reference in New Issue
Block a user