Skip to content

Commit

Permalink
Fix fonts in Search.astro
Browse files Browse the repository at this point in the history
In `Search.astro`, a CSS variable `--pagefind-ui-font: var(--font-body)`
is used to control the font within the Pagefind search component, but
there are some other elements in `Search.astro` that are not using the
same font. This commit will update the CSS in `Search.astro` so the font
matches throughout the component.
  • Loading branch information
br3ndonland committed Oct 14, 2024
1 parent 03b77f2 commit fb8bfaa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Search.astro
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ const labels = {
}

button {
font-family: var(--font-body);
margin: 0 0.5rem;
}

Expand Down Expand Up @@ -212,6 +213,7 @@ const labels = {

dialog {
margin: 0;
font-family: var(--font-body);
background-color: var(--gray-800);
border: 1px solid var(--gray-700);
width: 100%;
Expand Down

0 comments on commit fb8bfaa

Please sign in to comment.