From 555298d96a968c865d220426912bb735c6d0bff6 Mon Sep 17 00:00:00 2001 From: Aleksandar Djindjic Date: Tue, 10 Jan 2023 22:12:25 +0100 Subject: [PATCH 1/2] rule details tags and references cut off Signed-off-by: Aleksandar Djindjic --- .../Rules/components/RuleContentViewer/RuleContentViewer.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/pages/Rules/components/RuleContentViewer/RuleContentViewer.tsx b/public/pages/Rules/components/RuleContentViewer/RuleContentViewer.tsx index 9c4e9e507..635cf6a24 100644 --- a/public/pages/Rules/components/RuleContentViewer/RuleContentViewer.tsx +++ b/public/pages/Rules/components/RuleContentViewer/RuleContentViewer.tsx @@ -123,7 +123,7 @@ export const RuleContentViewer: React.FC = ({ Tags {ruleData.tags.length > 0 ? ( - + {ruleData.tags.map((tag: any, i: number) => ( {tag.value} @@ -140,7 +140,7 @@ export const RuleContentViewer: React.FC = ({ References {ruleData.references.length > 0 ? ( ruleData.references.map((reference: any, i: number) => ( -
+
Date: Tue, 10 Jan 2023 22:16:02 +0100 Subject: [PATCH 2/2] smaller spacing between rule tags Signed-off-by: Aleksandar Djindjic --- .../components/RuleContentViewer/RuleContentViewer.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/public/pages/Rules/components/RuleContentViewer/RuleContentViewer.tsx b/public/pages/Rules/components/RuleContentViewer/RuleContentViewer.tsx index 635cf6a24..7d9897161 100644 --- a/public/pages/Rules/components/RuleContentViewer/RuleContentViewer.tsx +++ b/public/pages/Rules/components/RuleContentViewer/RuleContentViewer.tsx @@ -123,7 +123,12 @@ export const RuleContentViewer: React.FC = ({ Tags {ruleData.tags.length > 0 ? ( - + {ruleData.tags.map((tag: any, i: number) => ( {tag.value}