diff --git a/packages/website/src/components/CodeListing.tsx b/packages/website/src/components/CodeListing.tsx index 015617eb4..53e26fd08 100644 --- a/packages/website/src/components/CodeListing.tsx +++ b/packages/website/src/components/CodeListing.tsx @@ -1,4 +1,4 @@ -import { ActionIcon, Badge, Group, Stack, Title } from '@mantine/core'; +import { ActionIcon, Badge, Group, MediaQuery, Stack, Title } from '@mantine/core'; import { useMediaQuery } from '@mantine/hooks'; import type { ReactNode } from 'react'; import { FiLink } from 'react-icons/fi'; @@ -42,9 +42,11 @@ export function CodeListing({ return ( - - - + + + + + {deprecation ? ( Deprecated diff --git a/packages/website/src/components/DocContainer.tsx b/packages/website/src/components/DocContainer.tsx index 61aee7e47..afc8e4f6f 100644 --- a/packages/website/src/components/DocContainer.tsx +++ b/packages/website/src/components/DocContainer.tsx @@ -84,7 +84,7 @@ export function DocContainer({ - + - - - + + + + + {data.deprecated ? ( Deprecated