Questions: Remove <br> Tags

Instead use block elements
This commit is contained in:
Tobias 2021-01-21 05:55:25 +01:00
parent e1568876b8
commit 743a972a50

View file

@ -88,7 +88,6 @@ export default class TagRenderingQuestion extends UIElement {
return tags.asHumanString(true, true); return tags.asHumanString(true, true);
} }
) )
).AddClass("block") ).AddClass("block")
} }
@ -270,12 +269,13 @@ export default class TagRenderingQuestion extends UIElement {
InnerRender(): string { InnerRender(): string {
return new Combine([ return new Combine([
this._question, this._question,
this._inputElement, "<br/>", this._inputElement,
this._cancelButton, this._cancelButton,
this._saveButton, "<br/>", this._saveButton,
this._appliedTags]) this._appliedTags]
.SetClass("question") )
.Render() .SetClass("question")
.Render()
} }
} }