From 5dac558ec72e84ab49ab4513efbf0d41b920bb3f Mon Sep 17 00:00:00 2001 From: Md Ariful Islam <73895992+Arifulislam5577@users.noreply.github.com> Date: Tue, 2 Jan 2024 20:37:44 +0600 Subject: [PATCH] Fixed: Responsive Issue Fixed (#129). --- app/docs.css | 2 +- app/docs/layout.tsx | 20 +++++++++++--------- mdx-components.tsx | 2 +- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/app/docs.css b/app/docs.css index a979b770..cfb20d20 100644 --- a/app/docs.css +++ b/app/docs.css @@ -95,5 +95,5 @@ body::-webkit-scrollbar-thumb { } .docs-page { - @apply fixed left-0 right-0 top-40 -z-0 mx-auto hidden !h-3/4 rounded-2xl bg-gradient-to-t from-primary-25 to-white lg:block xl:max-w-[1560px] 4k:max-w-[2000px]; + @apply fixed left-0 right-0 top-24 -z-0 mx-auto max-w-[1240px] rounded-2xl bg-gradient-to-t from-primary-25 to-white xl:!h-2/4 2xl:top-40 2xl:!h-3/4 2xl:max-w-[1560px] 4k:max-w-[2000px]; } diff --git a/app/docs/layout.tsx b/app/docs/layout.tsx index ad6890c3..5ca14211 100644 --- a/app/docs/layout.tsx +++ b/app/docs/layout.tsx @@ -79,13 +79,13 @@ const DocsLayout = ({ children }: { children: ReactNode }) => { return (
-
+
-
+
-
+
{children}
-