mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
updates on #63
This commit is contained in:
parent
c41fe7b110
commit
6b9d5bca43
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user