fix(front): Improve Delete account modal UI

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2023-05-17 09:53:55 +02:00
parent 1c1d0d47d7
commit c420bbccc9
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -187,7 +187,7 @@
:placeholder="t('Password')" :placeholder="t('Password')"
/> />
<template #message> <template #message>
<o-notification <o-notification class="mt-2 not-italic text-base"
variant="danger" variant="danger"
v-for="message in deletePasswordErrors" v-for="message in deletePasswordErrors"
:key="message" :key="message"
@ -196,16 +196,18 @@
</o-notification> </o-notification>
</template> </template>
</o-field> </o-field>
<o-button <div class="flex items-center justify-center">
class="mt-2" <o-button
native-type="submit" class="mt-2"
variant="danger" native-type="submit"
size="large" variant="danger"
> size="large"
{{ t("Delete everything") }} >
</o-button> {{ t("Delete everything") }}
</o-button>
</div>
</form> </form>
<div class="mt-4"> <div class="mt-4 text-center">
<o-button <o-button
variant="light" variant="light"
@click="isDeleteAccountModalActive = false" @click="isDeleteAccountModalActive = false"