File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -59,4 +59,8 @@ article h1 {
5959
6060.table-of-contents {
6161 display : none;
62+ }
63+
64+ .blog-list-page-wrapper article .markdown > h2 : first-child {
65+ margin-top : 0 ;
6266}
Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ function BlogListPageMetadata(props: Props): JSX.Element {
3333function BlogListPageContent ( props : Props ) : JSX . Element {
3434 const { metadata, items, sidebar} = props ;
3535 return (
36- < BlogLayout sidebar = { sidebar } >
37- < BlogPostItems items = { items } />
36+ < BlogLayout sidebar = { sidebar } wrapperClassName = 'blog-list-page-wrapper' >
37+ < BlogPostItems items = { items } />
3838 < BlogListPaginator metadata = { metadata } />
3939 </ BlogLayout >
4040 ) ;
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import type {Props} from '@theme/BlogPostItem';
1010// apply a bottom margin in list view
1111function useContainerClassName ( ) {
1212 const { isBlogPostPage} = useBlogPost ( ) ;
13- return ! isBlogPostPage ? 'margin-bottom--lg ' : undefined ;
13+ return ! isBlogPostPage ? 'margin-bottom--xl ' : undefined ;
1414}
1515
1616export default function BlogPostItem ( {
You can’t perform that action at this time.
0 commit comments