Revert "fix: Make event type title visible in mobile view (#20670)" (#20695)

This reverts commit bdf3935704.
This commit is contained in:
Benny Joo authored and GitHub committed 2025-04-14 20:25:52 +00:00
1 parent 1934c96353
commit 254a2e310b
2 files changed
+8 -4

No files matched your search

@@ -19,18 +19,22 @@ export function ShellMainAppDir(props: LayoutProps) {
<header
className={classNames(props.large && "py-8", "flex w-full max-w-full items-center truncate")}>
{props.HeadingLeftIcon && <div className="ltr:mr-4">{props.HeadingLeftIcon}</div>}
<div className={classNames("w-full truncate ltr:mr-4 rtl:ml-4", props.headerClassName)}>
<div
className={classNames(
"hidden w-full truncate ltr:mr-4 rtl:ml-4 md:block",
props.headerClassName
)}>
{props.heading && (
<h3
className={classNames(
"font-cal text-emphasis max-w-28 sm:max-w-72 md:max-w-80 truncate text-lg font-semibold tracking-wide sm:text-xl xl:max-w-full",
"font-cal text-emphasis max-w-28 sm:max-w-72 md:max-w-80 inline truncate text-lg font-semibold tracking-wide sm:text-xl md:block xl:max-w-full",
props.smallHeading ? "text-base" : "text-xl"
)}>
{props.heading}
</h3>
)}
{props.subtitle && (
<p className="text-default text-sm" data-testid="subtitle">
<p className="text-default hidden text-sm md:block" data-testid="subtitle">
{props.subtitle}
</p>
)}