Formatting and style tweaks
This commit is contained in:
parent
80533597c1
commit
dcfcc9a5d7
8 changed files with 100 additions and 41 deletions
|
@ -90,7 +90,7 @@ export default class DeleteWizard extends Toggle {
|
|||
config,
|
||||
state,
|
||||
{
|
||||
cancelButton: cancelButton,
|
||||
cancelButton,
|
||||
/*Using a custom save button constructor erases all logic to actually save, so we have to listen for the click!*/
|
||||
saveButtonConstr: (v) => DeleteWizard.constructConfirmButton(v).onClick(() => {
|
||||
doDelete(v.data)
|
||||
|
|
|
@ -71,7 +71,7 @@ export default class EditableTagRendering extends Toggle {
|
|||
{
|
||||
units: units,
|
||||
cancelButton: Translations.t.general.cancel.Clone()
|
||||
.SetClass("btn btn-secondary mr-3")
|
||||
.SetClass("btn btn-secondary")
|
||||
.onClick(() => {
|
||||
editMode.setData(false)
|
||||
}),
|
||||
|
|
|
@ -42,7 +42,7 @@ export default class QuestionBox extends VariableUiElement {
|
|||
skippedQuestions.ping();
|
||||
},
|
||||
cancelButton: Translations.t.general.skip.Clone()
|
||||
.SetClass("btn btn-secondary mr-3")
|
||||
.SetClass("btn btn-secondary")
|
||||
.onClick(() => {
|
||||
skippedQuestions.data.push(i);
|
||||
skippedQuestions.ping();
|
||||
|
|
|
@ -138,8 +138,8 @@ export default class TagRenderingQuestion extends Combine {
|
|||
super([
|
||||
question,
|
||||
inputElement,
|
||||
options.cancelButton,
|
||||
saveButton,
|
||||
new Combine([options.cancelButton,
|
||||
saveButton]).SetClass("flex w-full justify-end flex-wrap-reverse"),
|
||||
bottomTags,
|
||||
new Toggle(Translations.t.general.testing.SetClass("alert"), undefined, state.featureSwitchIsTesting)
|
||||
])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue