updates on #63

Former-commit-id: 6b9d5bca43
This commit is contained in:
Henrique Dias 2017-01-02 18:52:51 +00:00
parent 57dd01cb37
commit 2619f57170
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;
}