diff --git a/www/apps/api-reference/app/api/[area]/layout.tsx b/www/apps/api-reference/app/api/[area]/layout.tsx index 72260b0d39..53ab0a7b8c 100644 --- a/www/apps/api-reference/app/api/[area]/layout.tsx +++ b/www/apps/api-reference/app/api/[area]/layout.tsx @@ -33,13 +33,17 @@ export default function RootLayout({ className={clsx( inter.variable, robotoMono.variable, - "bg-docs-bg font-base text-medium h-full w-full", - "text-medusa-fg-subtle" + "bg-docs-bg font-base text-medium w-full", + "text-medusa-fg-subtle", + "h-screen overflow-hidden" )} > -
- + +
diff --git a/www/apps/api-reference/components/Tags/Operation/index.tsx b/www/apps/api-reference/components/Tags/Operation/index.tsx index c1efae8d7a..3ad5075b3b 100644 --- a/www/apps/api-reference/components/Tags/Operation/index.tsx +++ b/www/apps/api-reference/components/Tags/Operation/index.tsx @@ -43,6 +43,7 @@ const TagOperation = ({ const { ref } = useInView({ threshold: 0.3, rootMargin: `112px 0px 112px 0px`, + root: document.getElementById("main") || document.body, onChange: (changedInView) => { if (changedInView) { if (!show) { diff --git a/www/apps/api-reference/components/Tags/Section/index.tsx b/www/apps/api-reference/components/Tags/Section/index.tsx index e746199070..02fbcdd95f 100644 --- a/www/apps/api-reference/components/Tags/Section/index.tsx +++ b/www/apps/api-reference/components/Tags/Section/index.tsx @@ -43,6 +43,7 @@ const TagSection = ({ tag }: TagSectionProps) => { const { ref } = useInView({ threshold: 0.5, rootMargin: `112px 0px 112px 0px`, + root: document.getElementById("main") || document.body, onChange: (inView) => { if (inView && !loadPaths) { setLoadPaths(true) diff --git a/www/apps/docs/src/providers/Search/index.tsx b/www/apps/docs/src/providers/Search/index.tsx index 5c914f244f..44591436c7 100644 --- a/www/apps/docs/src/providers/Search/index.tsx +++ b/www/apps/docs/src/providers/Search/index.tsx @@ -60,6 +60,7 @@ const SearchProvider = ({ children }: SearchProviderProps) => { ], }, ], + className: "z-[500]", }} initialDefaultFilters={defaultFilters} > diff --git a/www/apps/ui/src/app/layout.tsx b/www/apps/ui/src/app/layout.tsx index e9f930cf2f..d9b32f6ea8 100644 --- a/www/apps/ui/src/app/layout.tsx +++ b/www/apps/ui/src/app/layout.tsx @@ -31,11 +31,11 @@ export default function RootLayout({ -
- + +
diff --git a/www/apps/ui/src/components/navbar.tsx b/www/apps/ui/src/components/navbar.tsx index d4c8791f7b..5572e2d03a 100644 --- a/www/apps/ui/src/components/navbar.tsx +++ b/www/apps/ui/src/components/navbar.tsx @@ -18,7 +18,6 @@ const Navbar = () => { setMobileSidebarOpen, mobileSidebarOpen, }} - className="!z-[49]" /> ) } diff --git a/www/apps/ui/src/examples/focus-modal-demo.tsx b/www/apps/ui/src/examples/focus-modal-demo.tsx index 0f9650e8f6..1306e4d5a2 100644 --- a/www/apps/ui/src/examples/focus-modal-demo.tsx +++ b/www/apps/ui/src/examples/focus-modal-demo.tsx @@ -6,7 +6,7 @@ export default function FocusModalDemo() { - + diff --git a/www/ignore-build-script.sh b/www/ignore-build-script.sh index 5efc34a63d..f47d02d632 100644 --- a/www/ignore-build-script.sh +++ b/www/ignore-build-script.sh @@ -3,7 +3,10 @@ echo "VERCEL_ENV: $VERCEL_ENV" echo "VERCEL_GIT_COMMIT_REF: $VERCEL_GIT_COMMIT_REF" -$(git diff HEAD^ HEAD --quiet .) +SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) +echo "SCRIPT_DIR: $SCRIPT_DIR" + +$(git diff HEAD^ HEAD --quiet ${SCRIPT_DIR}) diffResult=$? echo "DIFF RESULT: $diffResult" diff --git a/www/packages/docs-ui/src/components/CodeBlock/index.tsx b/www/packages/docs-ui/src/components/CodeBlock/index.tsx index f7e1d2760c..595343d0f1 100644 --- a/www/packages/docs-ui/src/components/CodeBlock/index.tsx +++ b/www/packages/docs-ui/src/components/CodeBlock/index.tsx @@ -97,7 +97,7 @@ export const CodeBlock = ({