feat(SampleList): move TypographyMenu to SampleList to show/hide it when list is visible on a screen

This commit is contained in:
Ilia Mashkov
2026-02-07 18:39:52 +03:00
parent b72ec8afdf
commit 204aa75959
2 changed files with 48 additions and 20 deletions

View File

@@ -11,7 +11,6 @@
* - Footer area (currently empty, reserved for future use)
*/
import { BreadcrumbHeader } from '$entities/Breadcrumb';
import { TypographyMenu } from '$features/SetupFont';
import favicon from '$shared/assets/favicon.svg';
import { ResponsiveProvider } from '$shared/lib';
import { ScrollArea } from '$shared/shadcn/ui/scroll-area';
@@ -52,7 +51,6 @@ let { children }: Props = $props();
<!-- <ScrollArea class="h-screen w-screen"> -->
<main class="flex-1 h-full w-full max-w-6xl mx-auto px-0 pt-0 pb-10 sm:px-6 sm:pt-8 sm:pb-12 md:px-8 md:pt-10 md:pb-16 lg:px-10 lg:pt-12 lg:pb-20 xl:px-16 relative overflow-x-hidden">
<TooltipProvider>
<TypographyMenu />
{@render children?.()}
</TooltipProvider>
</main>