mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-28 06:22:33 +00:00
refac
This commit is contained in:
parent
32170b96fc
commit
ffbe0ac12d
1 changed files with 7 additions and 4 deletions
|
|
@ -249,17 +249,17 @@
|
|||
}}
|
||||
/>
|
||||
|
||||
<div class="w-full h-screen max-h-[100dvh] text-white relative" id="auth-page">
|
||||
<div class="w-full h-dvh text-white relative" id="auth-page">
|
||||
<div class="w-full h-full absolute top-0 left-0 bg-white dark:bg-black"></div>
|
||||
|
||||
<div class="w-full absolute top-0 left-0 right-0 h-8 drag-region" />
|
||||
|
||||
{#if loaded}
|
||||
<div
|
||||
class="fixed bg-transparent min-h-screen w-full flex justify-center z-50 text-black dark:text-white"
|
||||
class="fixed inset-0 h-dvh overflow-y-auto bg-transparent w-full z-50 text-black dark:text-white"
|
||||
id="auth-container"
|
||||
>
|
||||
<div class="w-full px-6 min-h-screen flex flex-col text-center">
|
||||
<div class="w-full p-6 min-h-full flex flex-col text-center">
|
||||
{#if mfaChallenge}
|
||||
<div class="my-auto mx-auto w-full sm:max-w-md shrink-0">
|
||||
<MfaChallengeForm
|
||||
|
|
@ -291,7 +291,10 @@
|
|||
</div>
|
||||
{:else}
|
||||
<div class="my-auto flex flex-col justify-center items-center">
|
||||
<div id="auth-login-card" class=" sm:max-w-md my-auto pb-10 w-full dark:text-gray-100">
|
||||
<div
|
||||
id="auth-login-card"
|
||||
class=" sm:max-w-md my-auto sm:pb-10 w-full dark:text-gray-100"
|
||||
>
|
||||
{#if $config?.metadata?.auth_logo_position === 'center'}
|
||||
<div class="flex justify-center mb-6">
|
||||
<!-- LICENSE covers this Open WebUI sign-in logo.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue