From 0d5b38dc252180f1588145ee7b5172265aacf50f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Rialland?= Date: Wed, 26 Apr 2023 15:15:22 +0200 Subject: [PATCH] Fix critere 10.7 --- site/source/components/search/RulesInfiniteHits/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/site/source/components/search/RulesInfiniteHits/index.tsx b/site/source/components/search/RulesInfiniteHits/index.tsx index 01a19c28c..8747bd6da 100644 --- a/site/source/components/search/RulesInfiniteHits/index.tsx +++ b/site/source/components/search/RulesInfiniteHits/index.tsx @@ -13,6 +13,8 @@ import { Highlight } from '../Hightlight' type THit = AlgoliaHit<{ objectID: DottedName; namespace?: string }> const StyledRuleLink = styled(RuleLink)` + display: block; // Fix focus outline on chrome + ${SmallBody}, ${Body} { margin: 0; color: inherit; @@ -96,7 +98,7 @@ const Hits = connectInfiniteHits(({ hits, hasMore, refineNext }: IHits) => { ))} {hasMore && ( - )}