1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-16 03:31:52 +00:00

BugFix, FormElements didnt get style

This commit is contained in:
Daan Breur 2021-11-22 14:32:03 +01:00
parent 84c5fb7757
commit 839be106fc
No known key found for this signature in database
GPG Key ID: FAD44580052ECA57

View File

@ -65,7 +65,7 @@ export class FormElementDetails extends FormElement {
getHtml() {
return `<div class="formElement detailsFormElem"><details class='object'>
${this.label ? `<summary>${this.label}</summary>` : ""}
<div>
<div class="content">
${this.formElements.map(e => e.getHtml()).join("")}
</div></details></div>`;
}