Skip to content

Commit

Permalink
fix(css): blog feedbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexRCCTO committed Feb 13, 2024
1 parent 9360377 commit 56fb721
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,7 @@ export const LastArticlesBlock: React.FC<LastArticlesBlockProps> = ({
linkSeeMore: { label: labelLinkSeeMore, ...linkSeeMore },
...props
}) => (
<Box
{...props}
my="xl"
mx={{ xs: 's', md: 'auto' }}
width={{ md: 'content-container' }}
className="last-articles-block"
>
<Box {...props} my="xl" mx={{ xs: 's', md: 'm' }} width={{ md: 'full' }} className="last-articles-block">
<Heading size="m" color="primary">
{title}
</Heading>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
width: 100%;

@include create-media-queries('md') {
margin-top: 56px;
flex: 2;
}
}
Expand Down
3 changes: 0 additions & 3 deletions src/designTokens/typography/heading.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
},
"line-height": {
"value": "{line-height.base.value}"
},
"letter-spacing": {
"value": "1px"
}
},
"s": {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/HomePage/HomePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const HomePage: React.FC<HomePageProps> = ({
<HomeIntroBlock py={{ xs: '0', md: 'xl' }} {...homeIntroBlock} />
<LastArticlesBlock {...lastArticlesBlock} />
{lastTutorialsBlock && <LastTutorialsBlock {...lastTutorialsBlock} />}
<Box my="xl" mx={{ xs: 's', md: 'auto' }} width={{ md: 'content-container' }}>
<Box my="xl" mx={{ xs: 's', md: 'auto' }} width={{ md: 'full' }}>
<NewsletterCard variant="horizontal" {...newsletterCard} />
</Box>
</>
Expand Down

0 comments on commit 56fb721

Please sign in to comment.