Skip to content

[Portal] Fix: update sidebar overflow behavior in DocLayout component #7653

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/portal/src/app/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export function Header() {
const pathname = usePathname();

return (
<header className="flex w-full flex-col gap-2 border-b bg-background pt-4 px-4 pb-4 xl:pb-0 lg:px-8 overflow-hidden">
<header className="flex w-full flex-col gap-2 border-b bg-background p-4 xl:pb-0 lg:px-8 overflow-hidden">
{/* Top row */}
<div className="container flex items-center justify-between gap-6">
<div className="flex items-center gap-2">
Expand Down
2 changes: 1 addition & 1 deletion apps/portal/src/components/Layouts/DocLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export function DocLayout(props: DocLayoutProps) {
>
<aside
className={cn(
"sticky top-sticky-top-height h-sidebar-height flex-col overflow-y-hidden",
"sticky top-sticky-top-height h-sidebar-height flex-col overflow-y-auto no-scrollbar",
"hidden xl:flex",
)}
>
Expand Down
2 changes: 1 addition & 1 deletion apps/portal/src/components/others/DocSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ export function DocSearch(props: { variant: "icon" | "search" }) {
variant="outline"
>
<span className="text-xs">Search Docs</span>
<div className="flex items-center gap-1 rounded-sm px-1 py-1 text-muted-foreground text-xs">
<div className="flex items-center gap-1 rounded-sm p-1 text-muted-foreground text-xs">
<CommandIcon className="size-3" />K
</div>
</Button>
Expand Down
Loading