Skip to content

Commit 84a45f1

Browse files
committed
give class names a prefix on reference pages
fixes #650 before: blur reference page would have .blur CSS style applied after: blur reference page has .reference_blur class name, so there are no more collisions with CSS styles hopefully this doesn't have any unintended side effects
1 parent 290f709 commit 84a45f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/layouts/ReferenceItemLayout.astro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ const seenParams: Record<string, true> = {};
8282

8383
<BaseLayout
8484
title={title}
85+
titleClass={`reference_${title.toLowerCase()}`}
8586
subtitle={null}
8687
variant="item"
8788
topic="reference"

0 commit comments

Comments
 (0)