From bd5b2711859dc96df62c117f7d2eceb802ded292 Mon Sep 17 00:00:00 2001 From: Chandan Jal Date: Mon, 26 Jun 2023 16:32:54 +0530 Subject: [PATCH 1/2] fix: layout of tabs on Pages is not adaptable to mobile screens #1380 --- apps/app/components/pages/pages-view.tsx | 2 +- .../projects/[projectId]/pages/index.tsx | 46 ++++++++++--------- 2 files changed, 25 insertions(+), 23 deletions(-) diff --git a/apps/app/components/pages/pages-view.tsx b/apps/app/components/pages/pages-view.tsx index 7d1eac724d6..f21918a0dc4 100644 --- a/apps/app/components/pages/pages-view.tsx +++ b/apps/app/components/pages/pages-view.tsx @@ -205,7 +205,7 @@ export const PagesView: React.FC = ({ pages, viewType }) => { user={user} /> {pages ? ( -
+
{pages.length > 0 ? ( viewType === "list" ? (
    diff --git a/apps/app/pages/[workspaceSlug]/projects/[projectId]/pages/index.tsx b/apps/app/pages/[workspaceSlug]/projects/[projectId]/pages/index.tsx index a51c8b44f7f..f76c7f7e441 100644 --- a/apps/app/pages/[workspaceSlug]/projects/[projectId]/pages/index.tsx +++ b/apps/app/pages/[workspaceSlug]/projects/[projectId]/pages/index.tsx @@ -124,7 +124,29 @@ const ProjectPages: NextPage = () => { } >
    -

    Pages

    +
    +

    Pages

    +
    + + +
    +
    { }} > -
    +
    {tabsList.map((tab, index) => ( { ))}
    -
    - - -
    From a5acfcd0dc3c999c09af565d6b98b467df06cd4e Mon Sep 17 00:00:00 2001 From: Chandan Jal Date: Fri, 30 Jun 2023 14:38:10 +0530 Subject: [PATCH 2/2] fix: scrolling experience on page --- apps/app/components/pages/pages-view.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app/components/pages/pages-view.tsx b/apps/app/components/pages/pages-view.tsx index f21918a0dc4..7d1eac724d6 100644 --- a/apps/app/components/pages/pages-view.tsx +++ b/apps/app/components/pages/pages-view.tsx @@ -205,7 +205,7 @@ export const PagesView: React.FC = ({ pages, viewType }) => { user={user} /> {pages ? ( -
    +
    {pages.length > 0 ? ( viewType === "list" ? (