1
Fork 0
mirror of https://github.com/diced/zipline.git synced 2025-04-11 23:31:17 -05:00

fix: title overflow!

This commit is contained in:
diced 2025-02-20 12:23:33 -08:00
parent 683b77503e
commit d407b9397c
No known key found for this signature in database
GPG key ID: 370BD1BA142842D1

View file

@ -247,9 +247,16 @@ export default function Login({ config }: InferGetServerSidePropsType<typeof get
backdropFilter: config.website.loginBackgroundBlur ? 'blur(35px)' : undefined,
}}
>
<Title order={1} size={50} ta='center'>
<b>{config.website.title ?? 'Zipline'}</b>
</Title>
<div style={{ width: '100%', overflowWrap: 'break-word' }}>
<Title
order={1}
size={(config.website.title ?? 'Zipline').length > 50 ? 20 : 50}
ta='center'
style={{ whiteSpace: 'normal' }}
>
<b>{config.website.title ?? 'Zipline'}</b>
</Title>
</div>
{showLocalLogin && (
<>