fix(Login): fix display issues when AppLocalePicker's showText property is true (#2097)

This commit is contained in:
Name6 2022-07-23 19:24:38 +08:00 committed by GitHub
parent 442bd440ba
commit 7925c1ea28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,11 +1,13 @@
<template>
<div :class="prefixCls" class="relative w-full h-full px-4">
<AppLocalePicker
class="absolute text-white top-4 right-4 enter-x xl:text-gray-600"
:showText="false"
v-if="!sessionTimeout && showLocale"
/>
<AppDarkModeToggle class="absolute top-3 right-7 enter-x" v-if="!sessionTimeout" />
<div class="flex items-center absolute right-4 top-4">
<AppDarkModeToggle class="enter-x mr-2" v-if="!sessionTimeout" />
<AppLocalePicker
class="text-white enter-x xl:text-gray-600"
:show-text="false"
v-if="!sessionTimeout && showLocale"
/>
</div>
<span class="-enter-x xl:hidden">
<AppLogo :alwaysShowTitle="true" />
@ -24,7 +26,7 @@
<div class="mt-10 font-medium text-white -enter-x">
<span class="inline-block mt-4 text-3xl"> {{ t('sys.login.signInTitle') }}</span>
</div>
<div class="mt-5 font-normal text-white text-md dark:text-gray-500 -enter-x">
<div class="mt-5 font-normal text-white dark:text-gray-500 -enter-x">
{{ t('sys.login.signInDesc') }}
</div>
</div>