Skip to content

Commit 92169eb

Browse files
fix: resolve AI assistant button overlap and mobile padding on Teams page (calcom#24286)
* Fix padding in UpgradeTip component Adjusted padding in UpgradeTip component. * Adjust bottom positioning of main navigation component * Adjust bottom positioning for main navigation
1 parent 3d74357 commit 92169eb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/web/app/(use-page-wrapper)/(main-nav)/ShellMainAppDir.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export function ShellMainAppDir(props: LayoutProps) {
4545
className={classNames(
4646
props.backPath
4747
? "relative"
48-
: "pwa:bottom-[max(7rem,_calc(5rem_+_env(safe-area-inset-bottom)))] fixed bottom-20 z-40 ltr:right-4 rtl:left-4 md:z-auto md:ltr:right-0 md:rtl:left-0",
48+
: "pwa:bottom-[max(7rem,_calc(5rem_+_env(safe-area-inset-bottom)))] fixed bottom-32 z-40 ltr:right-4 rtl:left-4 md:z-auto md:ltr:right-0 md:rtl:left-0",
4949
"flex-shrink-0 [-webkit-app-region:no-drag] md:relative md:bottom-auto md:right-auto"
5050
)}>
5151
{props.CTA}

packages/features/tips/UpgradeTip.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export function UpgradeTip({
5454
alt={title}
5555
/>
5656
</picture>
57-
<div className="relative my-4 px-8 sm:px-14">
57+
<div className="relative my-4 px-8 pb-4 sm:px-14">
5858
<h1 className={classNames("font-cal mt-4 text-3xl")}>{title}</h1>
5959
<p className={classNames("mb-8 mt-4 max-w-sm")}>{description}</p>
6060
{buttons}

0 commit comments

Comments
 (0)