Styling tweak to the tagRenderingQuestion

This commit is contained in:
Pieter Vander Vennet 2023-01-29 13:40:26 +01:00
parent 19b381e8b0
commit 6c56b189b7

View file

@ -140,7 +140,6 @@ export default class TagRenderingQuestion extends Combine {
super([ super([
question, question,
inputElement, inputElement,
new Combine([
new VariableUiElement( new VariableUiElement(
feedback.map( feedback.map(
(t) => (t) =>
@ -149,12 +148,11 @@ export default class TagRenderingQuestion extends Combine {
?.SetClass("alert flex") ?? bottomTags ?.SetClass("alert flex") ?? bottomTags
) )
), ),
new Combine([new Combine([options.cancelButton]), saveButton]).SetClass( new Combine([options.cancelButton, saveButton]).SetClass(
"flex justify-end flex-wrap-reverse" "flex justify-end flex-wrap-reverse"
), ),
]).SetClass("flex mt-2 justify-between"),
new Toggle( new Toggle(
Translations.t.general.testing.SetClass("alert"), Translations.t.general.testing.SetClass("block alert"),
undefined, undefined,
state?.featureSwitchIsTesting state?.featureSwitchIsTesting
), ),