fixed a app store layout shift bugs (#2279)

* fixed a ton of app store layout shift bugs

* Sync submodules to main

* Update yarn.lock

Co-authored-by: zomars <[email protected]>
This commit is contained in:
Peer Richelsenandzomars authored and GitHub committed 2022-03-25 19:23:03 +00:00
1 parent 94006156d7
commit 2104624633
7 files changed
+111 -13

No files matched your search

Submodule apps/api updated: b753466bda...a2817a2fee.
+5 -5
View File
@@ -64,14 +64,14 @@ export default function App({
return (
<>
<Shell large>
<div className="-mx-8">
<div className="bg-gray-50 px-10">
<div className="-mx-4">
<div className="bg-gray-50 px-4">
<Link href="/apps">
<a className="mt-2 inline-flex px-1 py-2 text-sm text-gray-500 hover:bg-gray-100 hover:text-gray-800">
<ChevronLeftIcon className="h-5 w-5" /> {t("browse_apps")}
</a>
</Link>
<div className="flex items-center justify-between py-8">
<div className="items-center justify-between py-4 sm:flex sm:py-8">
<div className="flex">
<img className="h-16 w-16" src={logo} alt={name} />
<header className="px-4 py-2">
@@ -82,7 +82,7 @@ export default function App({
</header>
</div>
<div className="text-right">
<div className="mt-4 sm:mt-0 sm:text-right">
{isGlobal ? (
<Button color="secondary" disabled title="This app is globally installed">
{t("installed")}
@@ -107,7 +107,7 @@ export default function App({
<NavTabs tabs={tabs} linkProps={{ shallow: true }} /> */}
</div>
<div className="justify-between px-10 py-10 md:flex">
<div className="justify-between px-4 py-10 md:flex">
<div className="prose-sm prose">{body}</div>
<div className="md:max-w-80 flex-1 md:ml-8">
<h4 className="font-medium text-gray-900 ">{t("categories")}</h4>
+1 -1
View File
@@ -1,7 +1,7 @@
import { useSession } from "next-auth/react";
import React from "react";
import { useLocale } from "@lib/hooks/useLocale";
import { useLocale } from "@calcom/lib/hooks/useLocale";
import NavTabs from "./NavTabs";
@@ -17,8 +17,8 @@ export default function Apps({ appStore }: InferGetStaticPropsType<typeof getSta
return (
<>
<Shell large>
<div className="-mx-8">
<div className="mb-10 bg-gray-50 px-10 pb-2">
<div className="-mx-4">
<div className="mb-10 bg-gray-50 px-4 pb-2">
<Link href="/apps">
<a className="mt-2 inline-flex px-1 py-2 text-sm text-gray-500 hover:bg-gray-100 hover:text-gray-800">
<ChevronLeftIcon className="h-5 w-5" /> {t("browse_apps")}
+1 -1
View File
@@ -307,7 +307,7 @@ export default function IntegrationsPage() {
const { t } = useLocale();
return (
<Shell heading={t("installed_apps")} subtitle={t("manage_your_connected_apps")}>
<Shell heading={t("installed_apps")} subtitle={t("manage_your_connected_apps")} large>
<AppsShell>
<ClientSuspense fallback={<Loader />}>
<IntegrationsContainer />