center text/whitespace prewrap desc
This commit is contained in:
@@ -53,7 +53,7 @@ const UpcomingTournament: React.FC<{ tournament: Tournament }> = ({
|
|||||||
<Header tournament={tournament} />
|
<Header tournament={tournament} />
|
||||||
|
|
||||||
<Stack px="xs">
|
<Stack px="xs">
|
||||||
{tournament.desc && <Text px="md" size="sm">{tournament.desc}</Text>}
|
{tournament.desc && <Text px="md" ta="center" size="sm" style={{ whiteSpace: 'pre-wrap' }}>{tournament.desc}</Text>}
|
||||||
|
|
||||||
<Card withBorder radius="lg" p="lg">
|
<Card withBorder radius="lg" p="lg">
|
||||||
<Stack gap="xs">
|
<Stack gap="xs">
|
||||||
|
|||||||
Reference in New Issue
Block a user