mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-29 05:12:52 +00:00
refactor(v2): make margin top on blog pages as on docs pages (#2595)
This commit is contained in:
parent
1c2e8f92cc
commit
b50179071f
|
|
@ -22,7 +22,7 @@ function BlogListPage(props) {
|
|||
|
||||
return (
|
||||
<Layout title={title} description="Blog">
|
||||
<div className="container margin-vert--xl">
|
||||
<div className="container margin-vert--lg">
|
||||
<div className="row">
|
||||
<div className="col col--8 col--offset-2">
|
||||
{items.map(({content: BlogPostContent}) => (
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ function BlogPostPage(props) {
|
|||
return (
|
||||
<Layout title={title} description={description}>
|
||||
{BlogPostContents && (
|
||||
<div className="container margin-vert--xl">
|
||||
<div className="container margin-vert--lg">
|
||||
<div className="row">
|
||||
<div className="col col--8 col--offset-2">
|
||||
<BlogPostItem
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ function BlogTagsListPage(props) {
|
|||
|
||||
return (
|
||||
<Layout title="Tags" description="Blog Tags">
|
||||
<div className="container margin-vert--xl">
|
||||
<div className="container margin-vert--lg">
|
||||
<div className="row">
|
||||
<div className="col col--8 col--offset-2">
|
||||
<h1>Tags</h1>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ function BlogTagsPostPage(props) {
|
|||
<Layout
|
||||
title={`Posts tagged "${tagName}"`}
|
||||
description={`Blog | Tagged "${tagName}"`}>
|
||||
<div className="container margin-vert--xl">
|
||||
<div className="container margin-vert--lg">
|
||||
<div className="row">
|
||||
<div className="col col--8 col--offset-2">
|
||||
<h1>
|
||||
|
|
|
|||
Loading…
Reference in New Issue