fix: contain custom logo instead of cover and crop
This commit is contained in:
parent
971720044b
commit
0c592f6943
@ -34,7 +34,7 @@ const Login = ({
|
||||
<div className="flex flex-col h-screen items-center justify-center bg-slate-50 dark:bg-slate-900">
|
||||
{config?.logo_url ? (
|
||||
<div
|
||||
className="h-40 w-80 mb-4 bg-cover bg-no-repeat bg-center object-cover"
|
||||
className="h-40 w-80 mb-4 bg-contain bg-no-repeat bg-center object-cover"
|
||||
style={{ backgroundImage: `url('${config.logo_url}')` }}
|
||||
/>
|
||||
) : (
|
||||
|
@ -57,7 +57,7 @@ const Navbar = ({
|
||||
<div className="flex flex-shrink-0 items-center justify-center bg-slate-500 dark:bg-slate-700 w-16">
|
||||
{config?.logo_url ? (
|
||||
<div
|
||||
className="inline-flex h-10 w-10 bg-cover bg-no-repeat bg-center object-cover"
|
||||
className="inline-flex h-10 w-10 bg-contain bg-no-repeat bg-center object-cover"
|
||||
style={{ backgroundImage: `url('${config.logo_url}')` }}
|
||||
/>
|
||||
) : (
|
||||
|
Loading…
x
Reference in New Issue
Block a user