From 3cb1ab9f98c7639abf6b5e95719e180a8e9f99de Mon Sep 17 00:00:00 2001 From: MananTank Date: Sun, 12 Jan 2025 19:18:01 +0000 Subject: [PATCH] [TOOL-3038] Replace h-screen with h-dvh - fix iOS safari height issues (#5932) --- apps/dashboard/src/@/components/blocks/SettingsCard.stories.tsx | 2 +- apps/dashboard/src/@/components/ui/button.stories.tsx | 2 +- apps/dashboard/src/@/components/ui/select.stories.tsx | 2 +- apps/dashboard/src/app/(dashboard)/layout.tsx | 2 +- .../src/app/account/components/AccountHeaderUI.stories.tsx | 2 +- apps/dashboard/src/app/account/layout.tsx | 2 +- apps/dashboard/src/app/drops/[slug]/layout.tsx | 2 +- apps/dashboard/src/app/login/LoginPage.tsx | 2 +- .../src/app/nebula-app/(app)/components/ChatPageLayout.tsx | 2 +- apps/dashboard/src/app/nebula-app/(app)/layout.tsx | 2 +- apps/dashboard/src/app/nebula-app/[...not-found]/page.tsx | 2 +- apps/dashboard/src/app/nebula-app/login/NebulaLoginPage.tsx | 2 +- apps/dashboard/src/app/project-showcase/page.tsx | 2 +- .../[team_slug]/(team)/~/settings/general/Sidebar.stories.tsx | 2 +- apps/dashboard/src/app/team/[team_slug]/layout.tsx | 2 +- .../team/components/TeamHeader/TeamHeaderLoggedOut.stories.tsx | 2 +- .../src/app/team/components/TeamHeader/TeamHeaderUI.stories.tsx | 2 +- apps/dashboard/src/components/dashboard/StepsCard.stories.tsx | 2 +- apps/dashboard/src/components/not-found-page.tsx | 2 +- .../components/settings/Account/Billing/GatedSwitch.stories.tsx | 2 +- apps/playground-web/src/app/AppSidebar.tsx | 2 +- 21 files changed, 21 insertions(+), 21 deletions(-) diff --git a/apps/dashboard/src/@/components/blocks/SettingsCard.stories.tsx b/apps/dashboard/src/@/components/blocks/SettingsCard.stories.tsx index 2871dd92311..169410edadb 100644 --- a/apps/dashboard/src/@/components/blocks/SettingsCard.stories.tsx +++ b/apps/dashboard/src/@/components/blocks/SettingsCard.stories.tsx @@ -28,7 +28,7 @@ export const Mobile: Story = { function Story() { return ( -
+
+
diff --git a/apps/dashboard/src/@/components/ui/select.stories.tsx b/apps/dashboard/src/@/components/ui/select.stories.tsx index 957c3586df9..b57c407e01a 100644 --- a/apps/dashboard/src/@/components/ui/select.stories.tsx +++ b/apps/dashboard/src/@/components/ui/select.stories.tsx @@ -31,7 +31,7 @@ function randomName() { function Component() { return ( -
+
diff --git a/apps/dashboard/src/app/(dashboard)/layout.tsx b/apps/dashboard/src/app/(dashboard)/layout.tsx index 694c18dbc38..6c67ae4b29b 100644 --- a/apps/dashboard/src/app/(dashboard)/layout.tsx +++ b/apps/dashboard/src/app/(dashboard)/layout.tsx @@ -7,7 +7,7 @@ export default function DashboardLayout(props: { }) { return ( -
+
diff --git a/apps/dashboard/src/app/account/components/AccountHeaderUI.stories.tsx b/apps/dashboard/src/app/account/components/AccountHeaderUI.stories.tsx index e070a92b3c1..1c7f22950f4 100644 --- a/apps/dashboard/src/app/account/components/AccountHeaderUI.stories.tsx +++ b/apps/dashboard/src/app/account/components/AccountHeaderUI.stories.tsx @@ -47,7 +47,7 @@ function Variants(props: { return ( -
+
+
{props.children} diff --git a/apps/dashboard/src/app/drops/[slug]/layout.tsx b/apps/dashboard/src/app/drops/[slug]/layout.tsx index 99f46049b02..79ba14e87d0 100644 --- a/apps/dashboard/src/app/drops/[slug]/layout.tsx +++ b/apps/dashboard/src/app/drops/[slug]/layout.tsx @@ -4,7 +4,7 @@ import { ErrorProvider } from "contexts/error-handler"; export default function DashboardLayout(props: { children: React.ReactNode }) { return ( -
+
{/* */}
{props.children}
diff --git a/apps/dashboard/src/app/login/LoginPage.tsx b/apps/dashboard/src/app/login/LoginPage.tsx index d13d044cafd..9e424dfbfcc 100644 --- a/apps/dashboard/src/app/login/LoginPage.tsx +++ b/apps/dashboard/src/app/login/LoginPage.tsx @@ -48,7 +48,7 @@ export function LoginAndOnboardingPage(props: { redirectPath: string; }) { return ( -
+
diff --git a/apps/dashboard/src/app/nebula-app/(app)/components/ChatPageLayout.tsx b/apps/dashboard/src/app/nebula-app/(app)/components/ChatPageLayout.tsx index 26114cf3d5a..c5fb197c654 100644 --- a/apps/dashboard/src/app/nebula-app/(app)/components/ChatPageLayout.tsx +++ b/apps/dashboard/src/app/nebula-app/(app)/components/ChatPageLayout.tsx @@ -15,7 +15,7 @@ export function ChatPageLayout(props: { return (
diff --git a/apps/dashboard/src/app/nebula-app/(app)/layout.tsx b/apps/dashboard/src/app/nebula-app/(app)/layout.tsx index bc7ac6dd3e8..0af841ceff0 100644 --- a/apps/dashboard/src/app/nebula-app/(app)/layout.tsx +++ b/apps/dashboard/src/app/nebula-app/(app)/layout.tsx @@ -67,7 +67,7 @@ function NebulaWaitlistPage(props: { team: Team; }) { return ( -
+
diff --git a/apps/dashboard/src/app/nebula-app/[...not-found]/page.tsx b/apps/dashboard/src/app/nebula-app/[...not-found]/page.tsx index ff297366998..c4ddf35ee9f 100644 --- a/apps/dashboard/src/app/nebula-app/[...not-found]/page.tsx +++ b/apps/dashboard/src/app/nebula-app/[...not-found]/page.tsx @@ -3,7 +3,7 @@ import { TrackedLinkTW } from "@/components/ui/tracked-link"; export default function NebulaNotFound() { return (
-
+
404 diff --git a/apps/dashboard/src/app/nebula-app/login/NebulaLoginPage.tsx b/apps/dashboard/src/app/nebula-app/login/NebulaLoginPage.tsx index 6fd0f32d42c..fc22dab3eba 100644 --- a/apps/dashboard/src/app/nebula-app/login/NebulaLoginPage.tsx +++ b/apps/dashboard/src/app/nebula-app/login/NebulaLoginPage.tsx @@ -16,7 +16,7 @@ export function NebulaLoginPage(props: { props.account ? "connect" : "welcome", ); return ( -
+
{/* nav */}
diff --git a/apps/dashboard/src/app/project-showcase/page.tsx b/apps/dashboard/src/app/project-showcase/page.tsx index 8271ee3c7a1..63a31dbbb5c 100644 --- a/apps/dashboard/src/app/project-showcase/page.tsx +++ b/apps/dashboard/src/app/project-showcase/page.tsx @@ -67,7 +67,7 @@ export default async function ProjectShowcasePage(props: { ); return ( -
+
diff --git a/apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/general/Sidebar.stories.tsx b/apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/general/Sidebar.stories.tsx index 2b93cd9e4d2..09069c91cc2 100644 --- a/apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/general/Sidebar.stories.tsx +++ b/apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/general/Sidebar.stories.tsx @@ -42,7 +42,7 @@ function Story(props: { type: "mobile" | "desktop"; }) { return ( -
+
{props.type === "desktop" && (
diff --git a/apps/dashboard/src/app/team/[team_slug]/layout.tsx b/apps/dashboard/src/app/team/[team_slug]/layout.tsx index 7d73f4535f5..f8500cb6410 100644 --- a/apps/dashboard/src/app/team/[team_slug]/layout.tsx +++ b/apps/dashboard/src/app/team/[team_slug]/layout.tsx @@ -15,7 +15,7 @@ export default async function RootTeamLayout(props: { } return ( -
+
{props.children}
diff --git a/apps/dashboard/src/app/team/components/TeamHeader/TeamHeaderLoggedOut.stories.tsx b/apps/dashboard/src/app/team/components/TeamHeader/TeamHeaderLoggedOut.stories.tsx index 243a470e388..30195c2cf09 100644 --- a/apps/dashboard/src/app/team/components/TeamHeader/TeamHeaderLoggedOut.stories.tsx +++ b/apps/dashboard/src/app/team/components/TeamHeader/TeamHeaderLoggedOut.stories.tsx @@ -42,7 +42,7 @@ function Variants(props: { : TeamHeaderLoggedOutDesktopUI; return ( -
+
diff --git a/apps/dashboard/src/app/team/components/TeamHeader/TeamHeaderUI.stories.tsx b/apps/dashboard/src/app/team/components/TeamHeader/TeamHeaderUI.stories.tsx index 9425a7ceeba..b5943d8cc8b 100644 --- a/apps/dashboard/src/app/team/components/TeamHeader/TeamHeaderUI.stories.tsx +++ b/apps/dashboard/src/app/team/components/TeamHeader/TeamHeaderUI.stories.tsx @@ -52,7 +52,7 @@ function Variants(props: { } return ( -
+
+
-
+
404 diff --git a/apps/dashboard/src/components/settings/Account/Billing/GatedSwitch.stories.tsx b/apps/dashboard/src/components/settings/Account/Billing/GatedSwitch.stories.tsx index 4465aeb89cf..43dd56bd703 100644 --- a/apps/dashboard/src/components/settings/Account/Billing/GatedSwitch.stories.tsx +++ b/apps/dashboard/src/components/settings/Account/Billing/GatedSwitch.stories.tsx @@ -22,7 +22,7 @@ export const AllVariants: Story = { function Variants() { return ( -
+
diff --git a/apps/playground-web/src/app/AppSidebar.tsx b/apps/playground-web/src/app/AppSidebar.tsx index ca4b72283a8..f826e2879c6 100644 --- a/apps/playground-web/src/app/AppSidebar.tsx +++ b/apps/playground-web/src/app/AppSidebar.tsx @@ -7,7 +7,7 @@ import { otherLinks } from "./otherLinks"; export function AppSidebar() { return ( -
+