From d2176fc95b3b05c16ab3e1199dba5b8ee6445ec4 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Wed, 2 Feb 2022 02:08:45 +0100 Subject: [PATCH] Last styling tweaks --- UI/Popup/TagRenderingQuestion.ts | 7 +++---- assets/themes/natuurpunt/natuurpunt.css | 2 ++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/UI/Popup/TagRenderingQuestion.ts b/UI/Popup/TagRenderingQuestion.ts index 13f8d46811..a632bcf5d5 100644 --- a/UI/Popup/TagRenderingQuestion.ts +++ b/UI/Popup/TagRenderingQuestion.ts @@ -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 = diff --git a/assets/themes/natuurpunt/natuurpunt.css b/assets/themes/natuurpunt/natuurpunt.css index a3e7b89b6d..1839fd8962 100644 --- a/assets/themes/natuurpunt/natuurpunt.css +++ b/assets/themes/natuurpunt/natuurpunt.css @@ -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 {