From 88d21070f4887a8250d3036d01803bd266aace36 Mon Sep 17 00:00:00 2001 From: Ruxandra Machedon Date: Wed, 28 Feb 2024 16:40:26 -0500 Subject: [PATCH] fix: use anchor for map location dialog, compensate for padding issue --- .../StoryMapForm/MapLocationDialog.js | 105 +++++++++--------- 1 file changed, 53 insertions(+), 52 deletions(-) diff --git a/src/storyMap/components/StoryMapForm/MapLocationDialog.js b/src/storyMap/components/StoryMapForm/MapLocationDialog.js index a53300436..2577c476e 100644 --- a/src/storyMap/components/StoryMapForm/MapLocationDialog.js +++ b/src/storyMap/components/StoryMapForm/MapLocationDialog.js @@ -56,57 +56,59 @@ const BearingIcon = () => { const SetMapHelperText = () => { const { t } = useTranslation(); return ( - - - - - Title - - Paragraph 1 - {t('storyMap.form_location_helper_text_step_1_image_alt')} - - - - - - Title - - - Paragraph 1 - - - Content - - content - - content - - {t('storyMap.form_location_helper_text_step_2_1_image_alt')} - {t('storyMap.form_location_helper_text_step_2_2_image_alt')} - - - - - - Title - - Paragraph 1 - {t('storyMap.form_location_helper_text_step_3_image_alt')} - - - + + + + + + Title + + Paragraph 1 + {t('storyMap.form_location_helper_text_step_1_image_alt')} + + + + + + Title + + + Paragraph 1 + + + Content + + content + + content + + {t('storyMap.form_location_helper_text_step_2_1_image_alt')} + {t('storyMap.form_location_helper_text_step_2_2_image_alt')} + + + + + + Title + + Paragraph 1 + {t('storyMap.form_location_helper_text_step_3_image_alt')} + + + + ); }; @@ -226,7 +228,6 @@ const MapLocationDialog = props => {