ui: updated spacing issue and typo
This commit is contained in:
parent
8cf2f35223
commit
0b5a5aeadc
1 changed files with 117 additions and 117 deletions
|
@ -769,12 +769,12 @@
|
|||
useEffect(() => {
|
||||
// autosave template on every change
|
||||
userTemplateAutosave()
|
||||
}, [session.value])// removed params.value as it would re render the page.
|
||||
}, [session.value])
|
||||
|
||||
const GrammarControl = () => (
|
||||
html`
|
||||
<details>
|
||||
<summary>Grammer Configuration</summary>
|
||||
<summary>Grammar Configuration</summary>
|
||||
<label for="template">Grammar</label>
|
||||
<textarea id="grammar" name="grammar" placeholder="Use gbnf or JSON Schema+convert" value="${params.value.grammar}" rows=4 oninput=${updateParams}/>
|
||||
<input type="text" name="prop-order" placeholder="order: prop1,prop2,prop3" oninput=${updateGrammarJsonSchemaPropOrder} />
|
||||
|
@ -884,7 +884,7 @@
|
|||
)
|
||||
|
||||
if (props?.header)
|
||||
return html`<${ModeSelector} />`
|
||||
return ModeSelector()
|
||||
|
||||
return html`
|
||||
<form class="flexform">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue