mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 02:23:31 +01:00
feat(website): group items by symbol kind (#8360)
* feat(website): group items by symbol kind * chore: make requested changes * chore: fix darkmode colors * chore: make requested changes * Update packages/website/src/components/ListSidebar.tsx Co-authored-by: Almeida <almeidx@pm.me> Co-authored-by: Almeida <almeidx@pm.me>
This commit is contained in:
@@ -9,7 +9,7 @@ export function SidebarLayout({
|
||||
}: PropsWithChildren<Partial<ItemListProps & { data: { member: ReturnType<typeof findMember> } }>>) {
|
||||
return (
|
||||
<div className="flex flex-col lg:flex-row overflow-hidden max-w-full h-full max-h-full bg-white dark:bg-dark">
|
||||
<div className="w-full lg:max-w-1/4 lg:min-w-1/4">
|
||||
<div className="w-full lg:max-w-[370px] lg:min-w-[370px]">
|
||||
{packageName && data ? (
|
||||
<ItemSidebar packageName={packageName} data={data} selectedMember={data.member?.name} />
|
||||
) : null}
|
||||
|
||||
Reference in New Issue
Block a user