Fix critere 10.7

pull/2573/head
Jérémy Rialland 2023-04-26 15:15:22 +02:00 committed by Jérémy Rialland
parent fef94b9b7d
commit 0d5b38dc25
1 changed files with 3 additions and 1 deletions

View File

@ -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) => {
))}
</HitList>
{hasMore && (
<Button light size="XS" onClick={refineNext}>
<Button light size="XS" onPress={refineNext}>
{t('Charger plus de résultats')}
</Button>
)}