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,6 +196,7 @@
</o-notification> </o-notification>
</template> </template>
</o-field> </o-field>
<div class="flex items-center justify-center">
<o-button <o-button
class="mt-2" class="mt-2"
native-type="submit" native-type="submit"
@ -204,8 +205,9 @@
> >
{{ t("Delete everything") }} {{ t("Delete everything") }}
</o-button> </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"