Skip to content

Commit

Permalink
docs: Fix sidebar padding (#4989)
Browse files Browse the repository at this point in the history
Fixes #4986
  • Loading branch information
jamilbk committed May 15, 2024
1 parent a7d35cd commit f48bab0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion website/src/components/DocsSidebar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function DocsSidebar() {
id="docs-sidebar"
aria-label="Sidebar"
aria-hidden="true"
className="sticky left-0 top-0 flex-none z-40 w-64 overflow-y-auto h-[calc(100vh-20px)] pt-20 transition-transform -translate-x-full bg-white border-r border-neutral-200 md:translate-x-0"
className="sticky left-0 top-0 flex-none z-40 w-64 overflow-y-auto h-[calc(100vh)] pt-20 pb-8 transition-transform -translate-x-full bg-white border-r border-neutral-200 md:translate-x-0"
>
<SearchForm />
<div className="mt-5 h-full bg-white pr-3">
Expand Down
2 changes: 1 addition & 1 deletion website/src/components/KbSidebar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function KbSidebar() {
id="kb-sidebar"
aria-label="Sidebar"
aria-hidden="true"
className="sticky left-0 top-0 flex-none z-40 w-64 overflow-y-auto h-[calc(100vh-20px)] pt-20 transition-transform -translate-x-full bg-white border-r border-neutral-200 md:translate-x-0"
className="sticky left-0 top-0 flex-none z-40 w-64 overflow-y-auto h-[calc(100vh)] pt-20 pb-8 transition-transform -translate-x-full bg-white border-r border-neutral-200 md:translate-x-0"
>
<SearchForm />
<div className="mt-5 bg-white">
Expand Down

0 comments on commit f48bab0

Please sign in to comment.