Skip to content

Commit

Permalink
give class names a prefix on reference pages
Browse files Browse the repository at this point in the history
fixes processing#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
  • Loading branch information
wong-justin committed Dec 19, 2024
1 parent 290f709 commit 84a45f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/layouts/ReferenceItemLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ const seenParams: Record<string, true> = {};

<BaseLayout
title={title}
titleClass={`reference_${title.toLowerCase()}`}
subtitle={null}
variant="item"
topic="reference"
Expand Down

0 comments on commit 84a45f1

Please sign in to comment.