Merge pull request #3372 from kskarthik/master

fix the alignment of tooltip in login & register pages
This commit is contained in:
Bnyro 2024-01-31 19:06:43 +01:00 committed by GitHub
commit 99a0720596
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 5 deletions

View File

@ -1,5 +1,8 @@
<template> <template>
<div class="flex justify-center">
<h1 v-t="'titles.login'" class="my-4 text-center font-bold" /> <h1 v-t="'titles.login'" class="my-4 text-center font-bold" />
<TooltipIcon class="mb-6" icon="i-fa6-solid:circle-info" :tooltip="$t('info.login_note')" />
</div>
<hr /> <hr />
<div class="w-full flex items-center justify-center text-center"> <div class="w-full flex items-center justify-center text-center">
<form class="w-min children:pb-3"> <form class="w-min children:pb-3">
@ -28,7 +31,6 @@
<div> <div>
<a v-t="'titles.login'" class="btn w-auto" @click="login" /> <a v-t="'titles.login'" class="btn w-auto" @click="login" />
</div> </div>
<TooltipIcon icon="i-fa6-solid:circle-info" :tooltip="$t('info.login_note')" />
</form> </form>
</div> </div>
</template> </template>

View File

@ -1,5 +1,8 @@
<template> <template>
<div class="flex justify-center">
<h1 v-t="'titles.register'" class="my-4 text-center font-bold" /> <h1 v-t="'titles.register'" class="my-4 text-center font-bold" />
<TooltipIcon class="mb-6" icon="i-fa6-solid:circle-info" :tooltip="$t('info.register_note')" />
</div>
<hr /> <hr />
<div class="flex flex-col items-center justify-center text-center"> <div class="flex flex-col items-center justify-center text-center">
<form class="w-max items-center px-3 children:pb-3"> <form class="w-max items-center px-3 children:pb-3">
@ -45,7 +48,6 @@
<div> <div>
<a v-t="'titles.register'" class="btn w-auto" @click="register" /> <a v-t="'titles.register'" class="btn w-auto" @click="register" />
</div> </div>
<TooltipIcon icon="i-fa6-solid:circle-info" :tooltip="$t('info.register_note')" />
</form> </form>
</div> </div>
<ConfirmModal <ConfirmModal

View File

@ -1,5 +1,5 @@
<template> <template>
<div id="container" class="w-full"> <div id="container" class="m-2 self-center">
<div :class="icon" class="cursor-pointer"></div> <div :class="icon" class="cursor-pointer"></div>
<p id="tooltip" class="absolute mr-[20vw] mt-2 hidden rounded-l bg-gray-800 px-2 py-1 text-gray-200"> <p id="tooltip" class="absolute mr-[20vw] mt-2 hidden rounded-l bg-gray-800 px-2 py-1 text-gray-200">
{{ tooltip }} {{ tooltip }}