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, question,
inputElement, inputElement,
new Combine([ 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([
new Combine([options.cancelButton]), new Combine([options.cancelButton]),
saveButton]).SetClass("flex justify-end flex-wrap-reverse") saveButton]).SetClass("flex justify-end flex-wrap-reverse")
]).SetClass("flex mt-2 justify-between") ]).SetClass("flex mt-2 justify-between"),Them
,
bottomTags,
new Toggle(Translations.t.general.testing.SetClass("alert"), undefined, state.featureSwitchIsTesting) new Toggle(Translations.t.general.testing.SetClass("alert"), undefined, state.featureSwitchIsTesting)
]) ])

View file

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

View file

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