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()}
|
||||
<article className="markdown">{children}</article>
|
||||
<div className="row margin-vert--lg">
|
||||
<div className="col col-6">
|
||||
<div className="col">
|
||||
{tags.length > 0 && (
|
||||
<>
|
||||
<strong>Tags:</strong>
|
||||
|
@ -97,7 +97,7 @@ function BlogPostItem(props) {
|
|||
</>
|
||||
)}
|
||||
</div>
|
||||
<div className="col col-6 text--right">
|
||||
<div className="col text--right">
|
||||
{truncated && (
|
||||
<Link to={metadata.permalink}>
|
||||
<strong>Read More</strong>
|
||||
|
|
|
@ -72,12 +72,10 @@ function DocSidebar(props) {
|
|||
};
|
||||
|
||||
return (
|
||||
<div className="container margin-vert--lg">
|
||||
<div className="menu menu--responsive sidebar">
|
||||
<ul className="menu__list">
|
||||
{thisSidebar.map(item => renderItem(item, {root: true}))}
|
||||
</ul>
|
||||
</div>
|
||||
<div className="menu menu--responsive sidebar">
|
||||
<ul className="menu__list">
|
||||
{thisSidebar.map(item => renderItem(item, {root: true}))}
|
||||
</ul>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 32 KiB |
Loading…
Add table
Add a link
Reference in a new issue