Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
fix: icons doc layout
dev_wandry05fa28d3a780
diff --git a/components/docs/docs-shell.tsx b/components/docs/docs-shell.tsxindex e96eac54..0cb49b97 100644--- a/components/docs/docs-shell.tsx+++ b/components/docs/docs-shell.tsx@@ -26,6 +26,12 @@ import { baseOptions } from "@/lib/layout.shared";* and sticks the sidebar/TOC at `top-(--fd-docs-row-1)`, dropping them just below* the pinned tab bar instead of letting the bar overlap the sidebar top.*+ * On the icons tab the sidebar is disabled, but fumadocs still reserves the+ * `--fd-sidebar-width` (268px at md) gutter on the layout, indenting the article+ * away from the header/tab left edge. Forcing `--fd-sidebar-width:0px` (important,+ * to beat the sidebar slot's `md:layout:[--fd-sidebar-width:268px]`) collapses that+ * gutter so the content aligns flush-left under the logo and tabs.+ ** The grid's own `--fd-layout-width` is left at the fumadocs default (97rem) — the* chrome (DocsHeader/DocsTabsBar) is pinned to the same 97rem so everything shares* one centered block. (Forcing a narrower 1400px here only enlarged the side@@ -64,7 +70,11 @@ export function DocsShell({searchToggle={{ enabled: true }}themeSwitch={{ enabled: false }}sidebar={{ collapsible: false, enabled: !isIcons }}- containerProps={{ className: "[--fd-banner-height:2.75rem]" }}+ containerProps={{+ className: isIcons+ ? "[--fd-banner-height:2.75rem] [--fd-sidebar-width:0px]!"+ : "[--fd-banner-height:2.75rem]",+ }}><divaria-hiddendiff --git a/components/docs/icons-gallery.tsx b/components/docs/icons-gallery.tsxindex 85087eb3..0b9eaba2 100644--- a/components/docs/icons-gallery.tsx+++ b/components/docs/icons-gallery.tsx@@ -799,7 +799,7 @@ export function IconsGallery() {) : (groups.map((group) => (<section key={group.category} className="flex flex-col gap-3">- <h3 className="text-sm font-medium text-muted-foreground">+ <h3 className="sticky top-11 z-20 bg-background/80 py-2 text-sm font-medium text-muted-foreground backdrop-blur-xl">{group.category}</h3><div className="grid grid-cols-[repeat(auto-fill,minmax(132px,1fr))] gap-3">