From 3ed144f00384a20bb3b56a6ca7f8464e852d145f Mon Sep 17 00:00:00 2001 From: Elio Struyf Date: Tue, 27 Jul 2021 15:16:10 +0200 Subject: [PATCH] #42 - Table updates --- src/viewpanel/components/SeoFieldInfo.tsx | 3 +-- src/viewpanel/components/SeoStatus.tsx | 7 +++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/viewpanel/components/SeoFieldInfo.tsx b/src/viewpanel/components/SeoFieldInfo.tsx index e46fa9c0..2b13dd05 100644 --- a/src/viewpanel/components/SeoFieldInfo.tsx +++ b/src/viewpanel/components/SeoFieldInfo.tsx @@ -13,8 +13,7 @@ export const SeoFieldInfo: React.FunctionComponent = ({ titl return ( {title} - {value} - {recommendation} + {value}/{recommendation} { isValid !== undefined ? : - } diff --git a/src/viewpanel/components/SeoStatus.tsx b/src/viewpanel/components/SeoStatus.tsx index e97ecef3..4d555449 100644 --- a/src/viewpanel/components/SeoStatus.tsx +++ b/src/viewpanel/components/SeoStatus.tsx @@ -38,25 +38,24 @@ export const SeoStatus: React.FunctionComponent = (props: React Property Length - Recommended Valid { (title && seo.title > 0) && ( - + ) } { (data[descriptionField] && seo.description > 0) && ( - + ) } { (seo.content > 0 && data?.articleDetails?.wordCount) && ( - + ) }