Skip to content

Commit 8cb74d6

Browse files
committed
Increase Pagefind weight for RuleEmbed outside rule pages
1 parent ebdfeae commit 8cb74d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/markdown/RuleEmbed.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const shouldShowGroup = (groupFields: RuleFields[]): boolean => {
6262
};
6363
---
6464

65-
<Box data-pagefind-weight={onRulePage ? undefined : 0.5}>
65+
<Box data-pagefind-weight={onRulePage ? undefined : 0.9}>
6666
<div class="border-b mt-0">
6767
<h3
6868
class="m-0 text-base flex"

0 commit comments

Comments
 (0)