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:
parent
683b77503e
commit
d407b9397c
1 changed files with 10 additions and 3 deletions
|
@ -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 && (
|
||||
<>
|
||||
|
|
Loading…
Add table
Reference in a new issue