1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

Improvement: Fix alignment in read-the-docs section

This commit is contained in:
Akshay 2021-07-08 22:35:07 +02:00
parent f85b5eb764
commit cb77805712
2 changed files with 11 additions and 6 deletions

5
.codeclimate.yml Normal file
View File

@ -0,0 +1,5 @@
version: '2' # required to adjust maintainability checks
checks:
method-complexity:
config:
threshold: 7

View File

@ -59,12 +59,12 @@ export default function MarkdownList({ data, location, pageContext }) {
const keys = Object.keys(nestedModules).sort()
const children = []
children.push(
<li key={title}>
<b>{title}</b>
</li>
)
if (title)
children.push(
<li key={title}>
<b style={{ paddingLeft: '1rem', fontSize: '12.75px' }} >{title}</b>
</li>
)
keys.forEach((element) => {
children.push(