updates on #63

pull/144/head
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; display: inline-block;
} }
.frontmatter fieldset[data-type="object"] {
position: relative;
margin: 0;
}
.frontmatter .button { .frontmatter .button {
background-color: #2196f3; background-color: #2196f3;
color: #fff; color: #fff;

View File

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