From 85e9886906b586af41f5a84abb6d28f407ddc359 Mon Sep 17 00:00:00 2001 From: MiroslavDionisiev Date: Tue, 19 Nov 2024 13:05:18 +0200 Subject: [PATCH] refactor: [UEPR-90] fixed gap between components and how pdfs open --- src/views/guidelines/guidelines.jsx | 6 +++++- src/views/ideas/ideas.jsx | 5 +++++ src/views/ideas/ideas.scss | 6 +++++- src/views/ideas/l10n.json | 2 +- 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/views/guidelines/guidelines.jsx b/src/views/guidelines/guidelines.jsx index c76c0934e..3d76a62a8 100644 --- a/src/views/guidelines/guidelines.jsx +++ b/src/views/guidelines/guidelines.jsx @@ -88,7 +88,11 @@ const pageSections = [ id: 'guidelines.learnMorebody1', values: { a: chunks => ( - + {chunks} ) diff --git a/src/views/ideas/ideas.jsx b/src/views/ideas/ideas.jsx index f1057061d..41214dfb4 100644 --- a/src/views/ideas/ideas.jsx +++ b/src/views/ideas/ideas.jsx @@ -141,6 +141,9 @@ const Ideas = () => { id: tipData.button.hrefId }) } + {...(tipData.button.hrefId ? + {target: '_blank', rel: 'noopener noreferrer'} : + {})} >