Styling tweaks

This commit is contained in:
Pieter Vander Vennet 2022-02-14 21:46:35 +01:00
parent 957edb66f5
commit f83a74a18a
3 changed files with 3 additions and 13 deletions

View file

@ -141,14 +141,12 @@ export default class TagRenderingQuestion extends Combine {
question,
inputElement,
new Combine([
new VariableUiElement(feedback.map(t => t?.SetClass("alert") ?? "")).SetClass("grid justify-items-center"),
new VariableUiElement(feedback.map(t => t?.SetStyle("padding-left: 0.75rem; padding-right: 0.75rem")?.SetClass("alert flex") ?? bottomTags)),
new Combine([
new Combine([options.cancelButton]),
saveButton]).SetClass("flex justify-end flex-wrap-reverse")
]).SetClass("flex mt-2 justify-between")
,
bottomTags,
]).SetClass("flex mt-2 justify-between"),Them
new Toggle(Translations.t.general.testing.SetClass("alert"), undefined, state.featureSwitchIsTesting)
])

View file

@ -1148,10 +1148,6 @@ video {
width: 2.75rem;
}
.w-64 {
width: 16rem;
}
.w-4 {
width: 1rem;
}
@ -1308,10 +1304,6 @@ video {
justify-content: space-between;
}
.justify-items-center {
justify-items: center;
}
.gap-4 {
gap: 1rem;
}

View file

@ -19,7 +19,7 @@ export default class ValidatedTextFieldTranslationsSpec extends T {
const errs = [].concat(...allErrors)
if (errs.length > 0) {
errs.forEach(e => console.log(e))
// throw errs.join("\n")
// throw errs.join("\n")
}
}]
]);