mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 23:57:22 +02:00
misc(v2): fix CSS
This commit is contained in:
parent
e76288341f
commit
09036743b7
3 changed files with 6 additions and 8 deletions
|
@ -82,7 +82,7 @@ function BlogPostItem(props) {
|
||||||
{renderPostHeader()}
|
{renderPostHeader()}
|
||||||
<article className="markdown">{children}</article>
|
<article className="markdown">{children}</article>
|
||||||
<div className="row margin-vert--lg">
|
<div className="row margin-vert--lg">
|
||||||
<div className="col col-6">
|
<div className="col">
|
||||||
{tags.length > 0 && (
|
{tags.length > 0 && (
|
||||||
<>
|
<>
|
||||||
<strong>Tags:</strong>
|
<strong>Tags:</strong>
|
||||||
|
@ -97,7 +97,7 @@ function BlogPostItem(props) {
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<div className="col col-6 text--right">
|
<div className="col text--right">
|
||||||
{truncated && (
|
{truncated && (
|
||||||
<Link to={metadata.permalink}>
|
<Link to={metadata.permalink}>
|
||||||
<strong>Read More</strong>
|
<strong>Read More</strong>
|
||||||
|
|
|
@ -72,13 +72,11 @@ function DocSidebar(props) {
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="container margin-vert--lg">
|
|
||||||
<div className="menu menu--responsive sidebar">
|
<div className="menu menu--responsive sidebar">
|
||||||
<ul className="menu__list">
|
<ul className="menu__list">
|
||||||
{thisSidebar.map(item => renderItem(item, {root: true}))}
|
{thisSidebar.map(item => renderItem(item, {root: true}))}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 32 KiB |
Loading…
Add table
Add a link
Reference in a new issue