Skip to content

Commit 0ec5d42

Browse files
committed
Fix alignment of the reference filter input
1 parent 863aa65 commit 0ec5d42

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/components/ReferenceDirectoryWithFilter/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ export const ReferenceDirectoryWithFilter = ({
173173
return (
174174
<div>
175175
<div class="h-0 overflow-visible">
176-
<div class="content-grid-simple absolute -top-0 -left-0 -right-0 h-[75px] border-b border-sidebar-type-color bg-accent-color px-5 pb-lg md:px-lg ">
176+
<div class="content-grid-simple absolute -top-[75px] -left-0 -right-0 h-[75px] border-b border-sidebar-type-color bg-accent-color px-5 pb-lg md:px-lg ">
177177
<div class="text-body col-span-2 flex w-full max-w-[750px] border-b border-accent-type-color text-accent-type-color">
178178
<input
179179
type="text"

src/content/pages/en/reference.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,4 @@ slug: reference
33
title: Reference
44
---
55

6-
7-
{/* Most pages don't need this, but the reference page has a Filter thing that
8-
sticks out 75px from the header. This is a little hack to push everything down
9-
by that much so nothing gets cut off. */}
10-
<div class="h-[75px]" />
11-
126
Looking for p5.sound? Go to the <a href="https://archive.p5js.org/reference/#/libraries/p5.sound">p5.sound reference</a>!

0 commit comments

Comments
 (0)