Skip to content

Commit

Permalink
SUP-184 | @rebeccahongsf | Style responsive page title
Browse files Browse the repository at this point in the history
  • Loading branch information
rebeccahongsf committed May 16, 2024
1 parent 897168c commit 8f7a64a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ const PageTitleBannerParagraph = ({paragraph, pageTitle, ...props}: Props) => {
return (
<div
{...props}
className={twMerge("@container md:min-h-[400px] rs-mb-5 flex flex-col items-center", props.className)}
className={twMerge("@container min-h-[200px] md:min-h-[400px] rs-mb-5 flex flex-col items-center", props.className)}
>
<div className={clsx("aspect-[16/9] @6xl:aspect-auto relative @6xl:absolute w-full @6xl:h-full ", {
<div className={clsx("aspect-[16/9] @6xl:aspect-auto absolute w-full h-full ", {
"bg-plum": color === "magenta",
"bg-press-grass": color === "grass",
"bg-black-true bg-opacity-70": color === "steel",
Expand All @@ -34,7 +34,7 @@ const PageTitleBannerParagraph = ({paragraph, pageTitle, ...props}: Props) => {
</div>


<div className="relative @6xl:text-white z-10 text-center flex-grow flex items-center">
<div className="text-white z-10 text-center flex-grow flex items-center">
<H1>
{pageTitle}
</H1>
Expand Down

0 comments on commit 8f7a64a

Please sign in to comment.