misc(v2): change blog title size (#1821)

* misc(v2): change blog title size

* misc(v2): change blog title size
This commit is contained in:
Yangshun Tay 2019-10-10 01:25:11 -07:00 committed by GitHub
parent 17252a079c
commit 5eb79b17c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 2 deletions

View file

@ -6,11 +6,14 @@
*/
import React from 'react';
import classnames from 'classnames';
import {MDXProvider} from '@mdx-js/react';
import Link from '@docusaurus/Link';
import MDXComponents from '@theme/MDXComponents';
import styles from './styles.module.css';
function BlogPostItem(props) {
const {children, frontMatter, metadata, truncated} = props;
const {date, permalink, tags} = metadata;
@ -41,7 +44,7 @@ function BlogPostItem(props) {
return (
<header>
<h1 className="margin-bottom--xs">
<h1 className={classnames('margin-bottom--sm', styles.blogPostTitle)}>
<Link to={permalink}>{title}</Link>
</h1>
<div className="margin-bottom--sm">