Skip to content

Commit

Permalink
#705 - update density
Browse files Browse the repository at this point in the history
  • Loading branch information
estruyf committed Nov 25, 2024
1 parent a7f183b commit 147823b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/panelWebView/components/SeoKeywordInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ const SeoKeywordInfo: React.FunctionComponent<ISeoKeywordInfoProps> = ({
const densityTitle = `${density.toFixed(2)}* %`;

if (density < 0.75) {
return <ValidInfo label={densityTitle} isValid={false} className='text-xs' />;
return <ValidInfo label={densityTitle} isValid={false} className='text-[12px]' />;
} else if (density >= 0.75 && density < 1.5) {
return <ValidInfo label={densityTitle} isValid={true} className='text-xs' />;
return <ValidInfo label={densityTitle} isValid={true} className='text-[12px]' />;
} else {
return <ValidInfo label={densityTitle} isValid={false} className='text-xs' />;
return <ValidInfo label={densityTitle} isValid={false} className='text-[12px]' />;
}
};

Expand Down

0 comments on commit 147823b

Please sign in to comment.