updates on #63

This commit is contained in:
Henrique Dias 2017-01-02 18:52:51 +00:00
parent c41fe7b110
commit 6b9d5bca43
2 changed files with 7 additions and 2 deletions

View File

@ -153,6 +153,11 @@ i.spin {
display: inline-block;
}
.frontmatter fieldset[data-type="object"] {
position: relative;
margin: 0;
}
.frontmatter .button {
background-color: #2196f3;
color: #fff;

View File

@ -98,11 +98,11 @@ function addFrontMatterItemPrompt(parent) {
if (type == "array" || type == "object") {
if (parent.dataset.type == "parent") {
makeFromBaseTemplate(bid, newtype, name, document.querySelector('.frontmatter'));
makeFromBaseTemplate(id, type, name, document.querySelector('.frontmatter'));
return;
}
makeFromBaseTemplate(bid, newtype, name, block);
makeFromBaseTemplate(id, type, name, block);
return;
}