This is a placeholder for now. Help creating it.
@@ -17,7 +19,8 @@ const DocContent = ({ html }) =>
)
DocContent.propTypes = {
- html: PropTypes.string
+ html: PropTypes.string,
+ htmlAst: PropTypes.object
}
export default DocContent
diff --git a/src/components/DocContent.module.scss b/src/components/DocContent.module.scss
index a610bdfe..2296ce31 100644
--- a/src/components/DocContent.module.scss
+++ b/src/components/DocContent.module.scss
@@ -14,8 +14,8 @@
margin-top: $spacer / 2;
}
- h1,
- h2 {
+ > div > h1,
+ > div > h2 {
margin-top: $spacer * $line-height;
margin-bottom: $spacer / $line-height;
padding-bottom: $spacer / $line-height;
diff --git a/src/components/Repositories/Repository.module.scss b/src/components/Repositories/Repository.module.scss
index 6fba5ad3..4ebbdd16 100644
--- a/src/components/Repositories/Repository.module.scss
+++ b/src/components/Repositories/Repository.module.scss
@@ -5,18 +5,17 @@
border: 1px solid $brand-grey-lighter;
background: $brand-white;
border-radius: $border-radius;
- margin-bottom: 4%;
font-size: $font-size-small;
text-align: left;
-
- @media (min-width: $break-point--small) {
- flex: 0 0 100%;
- }
+ width: 100%;
+ margin-bottom: $spacer;
}
.repositoryName {
font-size: $font-size-h4;
margin-top: 0;
+ border: 0;
+ padding: 0;
}
.repositoryRelease {
diff --git a/src/templates/Doc.jsx b/src/templates/Doc.jsx
index 37a75e57..6a4658e2 100644
--- a/src/templates/Doc.jsx
+++ b/src/templates/Doc.jsx
@@ -49,7 +49,6 @@ export default class DocTemplate extends Component {
@@ -57,7 +56,10 @@ export default class DocTemplate extends Component {
title={title}
description={description}
/>
-
+
@@ -67,7 +69,10 @@ export default class DocTemplate extends Component {
title={title}
description={description}
/>
-
+
)}
@@ -84,6 +89,7 @@ export const pageQuery = graphql`
id
excerpt
html
+ htmlAst
fileAbsolutePath
frontmatter {
title