Skip to content

Commit

Permalink
adjust spacings for better aesthetics on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
lorant-one committed Nov 8, 2024
1 parent 3149df5 commit 55ef7e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/Mailchimp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const Mailchimp = (
<Flex
style={{overflow: 'hidden'}}
position="relative"
fillWidth padding="l" radius="l" marginBottom="m"
fillWidth padding="xl" radius="l" marginBottom="m"
direction="column" alignItems="center" align="center"
background="surface" border="neutral-medium" borderStyle="solid-1">
<Background
Expand Down
8 changes: 4 additions & 4 deletions src/components/ProjectCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export const ProjectCard: React.FC<ProjectCardProps> = ({
{images.length > 1 && (
<Flex
gap="4" paddingX="s"
fillWidth maxWidth={32}
fillWidth
justifyContent="center">
{images.map((_, index) => (
<Flex
Expand All @@ -101,22 +101,22 @@ export const ProjectCard: React.FC<ProjectCardProps> = ({
)}
<Flex
mobileDirection="column"
fillWidth paddingX="l" paddingTop="xs" paddingBottom="m" gap="l">
fillWidth paddingX="s" paddingTop="12" paddingBottom="24" gap="l">
{title && (
<Flex
flex={5}>
<Heading
as="h2"
wrap="balance"
variant="display-strong-xs">
variant="heading-strong-xl">
{title}
</Heading>
</Flex>
)}
{(avatars?.length > 0 || description?.trim() || content?.trim()) && (
<Flex
flex={7} direction="column"
gap="s">
gap="16">
{avatars?.length > 0 && (
<AvatarGroup
avatars={avatars}
Expand Down

0 comments on commit 55ef7e0

Please sign in to comment.