Skip to content

Commit e8e50b7

Browse files
fix: resolve search bar overlap with title on tablet viewports (calcom#27050) (calcom#27055)
* fix: resolve search bar overlap with title on tablet viewports (calcom#27050) * Update ShellMainAppDir.tsx --------- Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com>
1 parent fd130a3 commit e8e50b7

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,14 @@ export function ShellMainAppDir(props: LayoutProps) {
1717
{!!props.backPath && <ShellMainAppDirBackButton backPath={props.backPath} />}
1818
{props.heading && (
1919
<header
20-
className={classNames(props.large && "py-8", "flex w-full max-w-full items-center truncate")}>
20+
className={classNames(
21+
props.large && "py-8",
22+
"flex w-full max-w-full items-center flex-wrap md:flex-nowrap gap-2 md:gap-0"
23+
)}>
2124
{props.HeadingLeftIcon && <div className="ltr:mr-4">{props.HeadingLeftIcon}</div>}
2225
<div
2326
className={classNames(
24-
"hidden w-full truncate ltr:mr-4 rtl:ml-4 md:block",
27+
"hidden min-w-0 flex-1 ltr:mr-4 rtl:ml-4 md:block",
2528
props.headerClassName
2629
)}>
2730
{props.heading && (

0 commit comments

Comments
 (0)