adjust margins

This commit is contained in:
Kalle (Sendou)
2021-01-15 17:13:29 +02:00
parent 5682d05425
commit 66f2b1e733
2 changed files with 6 additions and 4 deletions

View File

@@ -47,7 +47,7 @@ const CreateNewTeamModal = () => {
return (
<>
<Button onClick={() => setIsOpen(true)}>
<Button onClick={() => setIsOpen(true)} mb={6}>
<Trans>New team</Trans>
</Button>
{isOpen && (

View File

@@ -106,17 +106,19 @@ const TeamsPage: React.FC<Props> = ({ teams }) => {
<Flex align="center">
{team.twitterName && (
<MyLink href={`/t/${team.nameForUrl}`} isColored={false}>
<TwitterAvatar twitterName={team.twitterName} />
<TwitterAvatar mr={2} twitterName={team.twitterName} />
</MyLink>
)}
<MyLink href={`/t/${team.nameForUrl}`} isColored={false}>
<Box ml={2} fontSize="2rem" fontWeight="bold">
<Box fontSize="2rem" fontWeight="bold">
{team.name}
</Box>
</MyLink>
<Box ml={2}>
{team.countries.map((country) => getEmojiFlag(country))}
{team.countries
.map((country) => getEmojiFlag(country))
.join(" ")}
</Box>
</Flex>
<Box color={gray} fontSize="sm" mt={2}>