mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
parent
57dd01cb37
commit
2619f57170
@ -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