forked from MapComplete/MapComplete
		
	Styling tweak to the tagRenderingQuestion
This commit is contained in:
		
							parent
							
								
									19b381e8b0
								
							
						
					
					
						commit
						6c56b189b7
					
				
					 1 changed files with 12 additions and 14 deletions
				
			
		| 
						 | 
					@ -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
 | 
				
			||||||
            ),
 | 
					            ),
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue