diff --git a/packages/design-system/organisms/servers-listing/ServersListing.styled.ts b/packages/design-system/organisms/servers-listing/ServersListing.styled.ts index 53cbe65..2982480 100644 --- a/packages/design-system/organisms/servers-listing/ServersListing.styled.ts +++ b/packages/design-system/organisms/servers-listing/ServersListing.styled.ts @@ -21,3 +21,7 @@ export const CardContainer = styled.div` max-width: 30%; `)} `; + +export const SectionHead = styled.div` + flex: 1 1 100%; +`; diff --git a/packages/design-system/organisms/servers-listing/ServersListing.tsx b/packages/design-system/organisms/servers-listing/ServersListing.tsx index cc2c677..51f2cf2 100644 --- a/packages/design-system/organisms/servers-listing/ServersListing.tsx +++ b/packages/design-system/organisms/servers-listing/ServersListing.tsx @@ -3,7 +3,7 @@ import { ServerListingCard } from '@roleypoly/design-system/molecules/server-lis import { getRecentAndSortedGuilds } from '@roleypoly/misc-utils/guildListing'; import { GuildSlug } from '@roleypoly/types'; import * as React from 'react'; -import { CardContainer, ContentContainer } from './ServersListing.styled'; +import { CardContainer, ContentContainer, SectionHead } from './ServersListing.styled'; type ServersListingProps = { guilds: GuildSlug[]; @@ -34,9 +34,9 @@ export const ServersListing = (props: ServersListingProps) => { {recentGuildSlugs && ( <> -
Recent Guilds
+ Recent Guilds -
All Guilds
+ All Guilds )}