bskyogcard: support emoji, more languages, long starter pack names (#4668)
This commit is contained in:
parent
f6b138f709
commit
49396451ec
12 changed files with 413 additions and 163 deletions
|
@ -43,6 +43,7 @@ export function StarterPack(props: {
|
|||
} else {
|
||||
imagesAcross.push(...imagesExceptCreator.slice(0, 7))
|
||||
}
|
||||
const isLongTitle = record ? record.name.length > 30 : false
|
||||
return (
|
||||
<div
|
||||
style={{
|
||||
|
@ -130,7 +131,9 @@ export function StarterPack(props: {
|
|||
<div
|
||||
style={{
|
||||
padding: '75px 30px 0px',
|
||||
fontSize: 65,
|
||||
fontSize: isLongTitle ? 55 : 65,
|
||||
display: 'flex',
|
||||
textAlign: 'center',
|
||||
}}>
|
||||
{record?.name || 'Starter Pack'}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue