diff --git a/site/source/components/search/RulesInfiniteHits/index.tsx b/site/source/components/search/RulesInfiniteHits/index.tsx index 59321c9b0..c44f0aaa4 100644 --- a/site/source/components/search/RulesInfiniteHits/index.tsx +++ b/site/source/components/search/RulesInfiniteHits/index.tsx @@ -1,11 +1,10 @@ import { DottedName } from 'modele-social' -import { Trans, useTranslation } from 'react-i18next' +import { useTranslation } from 'react-i18next' import { Hit as AlgoliaHit } from 'react-instantsearch-core' -import { connectInfiniteHits, connectStats } from 'react-instantsearch-dom' +import { connectInfiniteHits } from 'react-instantsearch-dom' import styled from 'styled-components' import { Button } from '@/design-system/buttons' -import { H3 } from '@/design-system/typography/heading' import { Body, SmallBody } from '@/design-system/typography/paragraphs' import RuleLink from '../../RuleLink' @@ -18,6 +17,7 @@ const StyledRuleLink = styled(RuleLink)` margin: 0; color: inherit; background-color: inherit; + display: block; } ${Body} { @@ -46,11 +46,11 @@ const Hit = (hit: THit) => { {hit.namespace && ( - + )} - + diff --git a/site/source/pages/statistiques/GlobalStats.tsx b/site/source/pages/statistiques/GlobalStats.tsx index b3952fed1..38e1fe549 100644 --- a/site/source/pages/statistiques/GlobalStats.tsx +++ b/site/source/pages/statistiques/GlobalStats.tsx @@ -13,7 +13,7 @@ const lastCompare = (startDate: Date, dateStr: string) => startDate < new Date(dateStr) export const BigIndicator = ({ main, subTitle, footnote }: IndicatorProps) => ( - + ) @@ -151,7 +151,7 @@ export default function GlobalStats({ stats }: { stats: StatsStruct }) { return ( <> - + {currentMonthSatisfaction.total > 0 && ( - + - +