From b5c8f8f73f0bd71adf3399e5c913cbb2001c44db Mon Sep 17 00:00:00 2001 From: Dhairya Majmudar <2022kuec2045@iiitkota.ac.in> Date: Sun, 25 Feb 2024 19:10:37 +0530 Subject: [PATCH 1/7] fixing search bar --- components/Layout.tsx | 2 +- styles/globals.css | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/components/Layout.tsx b/components/Layout.tsx index 09285d796..b0edcaa9f 100644 --- a/components/Layout.tsx +++ b/components/Layout.tsx @@ -141,7 +141,7 @@ const MainNavigation = () => { />
-
+
{showMobileNav === false ? ( diff --git a/styles/globals.css b/styles/globals.css index cdaeb154e..eafd519e9 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -46,11 +46,14 @@ border-radius: 4px; */ @media (max-width: 730px) { .DocSearch-Button-Container { - width: 40px; height: 40px; padding: 0px; border: none; } + + .DocSearch-Button-Placeholder { + display: inline; + } } .DocSearch-Button:active, From a38709099f2d5da0a2ed54289539d98f2a05ca3e Mon Sep 17 00:00:00 2001 From: Dhairya Majmudar <2022kuec2045@iiitkota.ac.in> Date: Mon, 26 Feb 2024 23:18:51 +0530 Subject: [PATCH 2/7] ipad-mini-fix --- styles/globals.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/styles/globals.css b/styles/globals.css index eafd519e9..29671714a 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -44,7 +44,7 @@ html { border-radius: 4px; */ } -@media (max-width: 730px) { +@media (max-width: 770px) { .DocSearch-Button-Container { height: 40px; padding: 0px; From cbba5b1419f054a706105da7fe8b563ac02454be Mon Sep 17 00:00:00 2001 From: Dhairya Majmudar <2022kuec2045@iiitkota.ac.in> Date: Mon, 26 Feb 2024 23:23:40 +0530 Subject: [PATCH 3/7] fix 355 --- pages/index.page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/index.page.tsx b/pages/index.page.tsx index 67b39a5c3..0d8aa55a7 100644 --- a/pages/index.page.tsx +++ b/pages/index.page.tsx @@ -161,8 +161,8 @@ const Home = (props: any) => { JSON Schema enables the confident and reliable use of the JSON data format.
- Getting started - Join Slack + Getting started + Join Slack
Date: Tue, 27 Feb 2024 11:13:28 +0530 Subject: [PATCH 4/7] icon and span fix --- components/Layout.tsx | 2 +- styles/globals.css | 19 +++++++++++++------ 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/components/Layout.tsx b/components/Layout.tsx index 2aef928c0..8669b7d6f 100644 --- a/components/Layout.tsx +++ b/components/Layout.tsx @@ -140,7 +140,7 @@ const MainNavigation = () => { isActive={section === 'community'} /> -
+
diff --git a/styles/globals.css b/styles/globals.css index 29671714a..4be1eb7a3 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -34,8 +34,9 @@ html { display: none !important; } -.DocSearch-Button-Container { +.herobtn .DocSearch-Button-Container { background-color: transparent !important; + justify-content: center; width: 168px; height: 32px; padding: 8px 8px; @@ -44,18 +45,28 @@ html { border-radius: 4px; */ } -@media (max-width: 770px) { +@media (max-width: 850px) { .DocSearch-Button-Container { height: 40px; padding: 0px; border: none; } + .DocSearch-Button { + margin: 0; + } + .DocSearch-Button-Placeholder { display: inline; } } +@media (max-width:450px) { + .DocSearch-Button { + margin: 0; + } +} + .DocSearch-Button:active, .DocSearch-Button:focus, .DocSearch-Button:hover { @@ -145,10 +156,6 @@ border-radius: 4px; */ color: black; } -.herobtn span { - margin: 0 auto; -} - .herobtn span { color: white !important; font-weight: 600; From 48d4226986411d1b4eca76fa2a5dbae583667f0e Mon Sep 17 00:00:00 2001 From: Dhairya Majmudar <2022kuec2045@iiitkota.ac.in> Date: Tue, 27 Feb 2024 15:56:05 +0530 Subject: [PATCH 5/7] fix 374 --- components/Layout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Layout.tsx b/components/Layout.tsx index 8669b7d6f..25b5efffa 100644 --- a/components/Layout.tsx +++ b/components/Layout.tsx @@ -180,7 +180,7 @@ const MobileNav = () => { const section = useContext(SectionContext) return ( -
+
Date: Wed, 28 Feb 2024 19:01:46 +0530 Subject: [PATCH 6/7] search fix --- components/Layout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Layout.tsx b/components/Layout.tsx index 25b5efffa..ad6e9cafd 100644 --- a/components/Layout.tsx +++ b/components/Layout.tsx @@ -141,7 +141,7 @@ const MainNavigation = () => { />
-
+
{showMobileNav === false ? ( From a5197091a1b43d4904db1e20da271e1c8b9031e8 Mon Sep 17 00:00:00 2001 From: Dhairya Majmudar <2022kuec2045@iiitkota.ac.in> Date: Thu, 29 Feb 2024 18:41:59 +0530 Subject: [PATCH 7/7] fixes --- styles/globals.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/styles/globals.css b/styles/globals.css index 4be1eb7a3..6de4bf0ac 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -45,7 +45,7 @@ html { border-radius: 4px; */ } -@media (max-width: 850px) { +@media (max-width:1027px) { .DocSearch-Button-Container { height: 40px; padding: 0px; @@ -59,6 +59,12 @@ border-radius: 4px; */ .DocSearch-Button-Placeholder { display: inline; } + + .herobtn .DocSearch-Button-Container { + margin-right: 4px; + margin-left: 4px; + } + } @media (max-width:450px) {