diff --git a/snippets/shx-3d-render-input.liquid b/snippets/shx-3d-render-input.liquid index ead0a06..cf05cea 100644 --- a/snippets/shx-3d-render-input.liquid +++ b/snippets/shx-3d-render-input.liquid @@ -24,7 +24,7 @@ overflow: hidden; } - .shx_ifc_renderButton { + .shx_ifc_renderButton, .shx-ifc-form_label { margin-top: 1rem; } @@ -41,7 +41,8 @@ let globalInputFormsObjValues = { "test1": { - "shx-text1": "test" + "shx-text1": "test", + "shx-font": "LT Beverage" }, "test2": { "text1": "test1", @@ -51,7 +52,7 @@ function SHX_IFC_genTextInput(inputID, labelText, inputName, inputVal) { return ` - +
@@ -63,24 +64,13 @@ `; - } - - /**/ + } function SHX_IFC_genDropdownSelect(inputID, labelText, inputName, inputVal, options) { let html = ` - +
- `; for(let i = 0; i < options.length; i++) { @@ -102,7 +92,7 @@ let html = defaultStyle; html += SHX_IFC_genTextInput('shx-text1', 'Custom Text 1', 'Custom Text 1', globalInputFormsObjValues['test1']['shx-text1']); - html += SHX_IFC_genDropdownSelect('shx-font', 'Dropdown', 'dropdown', 'test', ['test', 'test2', 'test3']); + html += SHX_IFC_genDropdownSelect('shx-font', 'Schriftart', 'dropdown', 'LT Beverage', ['LT Beverage', 'test2', 'test3']); html += SHX_IFC_genRenderButton(); return html;