Last styling tweaks
This commit is contained in:
parent
3b78951f88
commit
d2176fc95b
2 changed files with 5 additions and 4 deletions
|
@ -27,9 +27,8 @@ import {Unit} from "../../Models/Unit";
|
||||||
import VariableInputElement from "../Input/VariableInputElement";
|
import VariableInputElement from "../Input/VariableInputElement";
|
||||||
import Toggle from "../Input/Toggle";
|
import Toggle from "../Input/Toggle";
|
||||||
import Img from "../Base/Img";
|
import Img from "../Base/Img";
|
||||||
import {flattenEach, tag} from "@turf/turf";
|
|
||||||
import FeaturePipeline from "../../Logic/FeatureSource/FeaturePipeline";
|
|
||||||
import FeaturePipelineState from "../../Logic/State/FeaturePipelineState";
|
import FeaturePipelineState from "../../Logic/State/FeaturePipelineState";
|
||||||
|
import Title from "../Base/Title";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Shows the question element.
|
* Shows the question element.
|
||||||
|
@ -75,8 +74,8 @@ export default class TagRenderingQuestion extends Combine {
|
||||||
}
|
}
|
||||||
options = options ?? {}
|
options = options ?? {}
|
||||||
const applicableUnit = (options.units ?? []).filter(unit => unit.isApplicableToKey(configuration.freeform?.key))[0];
|
const applicableUnit = (options.units ?? []).filter(unit => unit.isApplicableToKey(configuration.freeform?.key))[0];
|
||||||
const question = new SubstitutedTranslation(configuration.question, tags, state)
|
const question = new Title(new SubstitutedTranslation(configuration.question, tags, state)
|
||||||
.SetClass("question-text");
|
.SetClass("question-text"), 3);
|
||||||
|
|
||||||
|
|
||||||
const inputElement: InputElement<TagsFilter> =
|
const inputElement: InputElement<TagsFilter> =
|
||||||
|
|
|
@ -88,6 +88,8 @@ h1, h2, h3, h4 {
|
||||||
|
|
||||||
.layer-toggle {
|
.layer-toggle {
|
||||||
/* The checkbox that toggles a single layer */
|
/* The checkbox that toggles a single layer */
|
||||||
|
border-top: unset;
|
||||||
|
margin-top: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
.filter-panel {
|
.filter-panel {
|
||||||
|
|
Loading…
Reference in a new issue