-
Notifications
You must be signed in to change notification settings - Fork 27
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
refactor: Add new dropdown to non-generic pages #2568
Conversation
- Move `left` alignment of dropdowns exclusively into desktop dropdown pane - Add `NavBarListContainer` to tutorials dropdown wrapping to satisfy Radix
The latest updates on your projects. Learn more about Vercel for Git βοΈ
|
π¦ Next.js Bundle AnalysisThis analysis was generated by the next.js bundle analysis action π€ Seventy-four Pages Changed SizeThe following pages changed size from the code in this PR compared to its base branch:
DetailsOnly the gzipped size is provided here based on an expert tip. First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If Any third party scripts you have added directly to your app using the Next to the size is how much the size has increased or decreased compared with the base branch of this PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. |
This reverts commit 393b625.
This reverts commit 46a6c5d.
.homepageDropdownPane { | ||
left: -216px; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isolates this adjustment to just the homepage dropdown, instead of having it affect all dropdowns across the site.
src/components/navigation-header/components/product-page-content/index.tsx
Show resolved
Hide resolved
return <ul className={s.navList}>{children}</ul> | ||
type NativeDivElement = JSX.IntrinsicElements['div'] | ||
|
||
export default function SidebarNavList({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Allows per-instance control of SidebarNavList
styles. Needed for a padding adjustment for product page resources sections here:
Co-authored-by: Heat Hamilton <[email protected]>
π Relevant links
ποΈ What
This PR follows up #2553 by replacing all existing instances of the old nav dropdown list with the new panel
π οΈ How
This PR replaces the existing list-like panel in desktop/mobile layouts with the new shared panel. This change affects product pages,
/profile/*
pages, and the page at/tutorial/library
.πΈ Design Screenshots
π§ͺ Testing