#71: Started adding sub-result control

This commit is contained in:
frikky
2020-06-20 11:08:06 +02:00
parent 4a6595e56a
commit 8f40fa01e9
6 changed files with 114 additions and 48 deletions
+2 -2
View File
@@ -189,10 +189,10 @@ const Docs = (props) => {
}
function Heading(props) {
const element = React.createElement(`h${props.level}`, {style: {marginTop: 25}}, props.children)
const element = React.createElement(`h${props.level}`, {style: {marginTop: 40}}, props.children)
return (
<span>
{props.level !== 1 ? <Divider style={{width: "90%", marginTop: 25, backgroundColor: inputColor}} /> : null}
{props.level !== 1 ? <Divider style={{width: "90%", marginTop: 40, backgroundColor: inputColor}} /> : null}
{element}
</span>
)