Last styling tweaks

This commit is contained in:
pietervdvn 2022-02-02 02:08:45 +01:00
parent 3b78951f88
commit d2176fc95b
2 changed files with 5 additions and 4 deletions

View file

@ -27,9 +27,8 @@ import {Unit} from "../../Models/Unit";
import VariableInputElement from "../Input/VariableInputElement";
import Toggle from "../Input/Toggle";
import Img from "../Base/Img";
import {flattenEach, tag} from "@turf/turf";
import FeaturePipeline from "../../Logic/FeatureSource/FeaturePipeline";
import FeaturePipelineState from "../../Logic/State/FeaturePipelineState";
import Title from "../Base/Title";
/**
* Shows the question element.
@ -75,8 +74,8 @@ export default class TagRenderingQuestion extends Combine {
}
options = options ?? {}
const applicableUnit = (options.units ?? []).filter(unit => unit.isApplicableToKey(configuration.freeform?.key))[0];
const question = new SubstitutedTranslation(configuration.question, tags, state)
.SetClass("question-text");
const question = new Title(new SubstitutedTranslation(configuration.question, tags, state)
.SetClass("question-text"), 3);
const inputElement: InputElement<TagsFilter> =

View file

@ -88,6 +88,8 @@ h1, h2, h3, h4 {
.layer-toggle {
/* The checkbox that toggles a single layer */
border-top: unset;
margin-top: unset;
}
.filter-panel {