From bf9fc674714d8119d5b11ff6369a7d99a5d401b2 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Tue, 18 May 2021 01:05:43 +0200 Subject: [PATCH] Add bottom margin --- Docs/TagInfo/mapcomplete_aed.json | 15 +++++++++++++++ UI/Popup/QuestionBox.ts | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/Docs/TagInfo/mapcomplete_aed.json b/Docs/TagInfo/mapcomplete_aed.json index 30311f2926..ac0688f358 100644 --- a/Docs/TagInfo/mapcomplete_aed.json +++ b/Docs/TagInfo/mapcomplete_aed.json @@ -88,6 +88,16 @@ "key": "level", "description": "Layer 'Defibrillators' shows and asks freeform values for key 'level' (in the MapComplete.osm.be theme 'Open AED Map')" }, + { + "key": "level", + "description": "Layer 'Defibrillators' shows level=0 with a fixed text, namely 'This defibrillator is on the ground floor' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Open AED Map')", + "value": "0" + }, + { + "key": "level", + "description": "Layer 'Defibrillators' shows level=1 with a fixed text, namely 'This defibrillator is on the first floor' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Open AED Map')", + "value": "1" + }, { "key": "defibrillator:location", "description": "Layer 'Defibrillators' shows and asks freeform values for key 'defibrillator:location' (in the MapComplete.osm.be theme 'Open AED Map')" @@ -136,6 +146,11 @@ "key": "opening_hours", "description": "Layer 'Defibrillators' shows and asks freeform values for key 'opening_hours' (in the MapComplete.osm.be theme 'Open AED Map')" }, + { + "key": "opening_hours", + "description": "Layer 'Defibrillators' shows opening_hours=24/7 with a fixed text, namely '24/7 opened (including holidays)' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Open AED Map')", + "value": "24/7" + }, { "key": "description", "description": "Layer 'Defibrillators' shows and asks freeform values for key 'description' (in the MapComplete.osm.be theme 'Open AED Map')" diff --git a/UI/Popup/QuestionBox.ts b/UI/Popup/QuestionBox.ts index 26b7906b1a..97d2d0fb9c 100644 --- a/UI/Popup/QuestionBox.ts +++ b/UI/Popup/QuestionBox.ts @@ -45,7 +45,7 @@ export default class QuestionBox extends UIElement { .onClick(() => { self._skippedQuestions.setData([]); }) - this.SetClass("block") + this.SetClass("block mb-8") } InnerRender(): string {