Skip to content

Commit

Permalink
ui
Browse files Browse the repository at this point in the history
  • Loading branch information
Yusef Almamari committed Sep 7, 2024
1 parent cdfb041 commit b5bbe3b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/ui/MaterialComponents.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export function TopBar({ headline, description, showBackButton = true, options }
)}

<h2
className={`mx-2 overflow-hidden text-ellipsis whitespace-nowrap transition duration-150 ease-in-out ${isScrolled ? "translate-y-0" : "translate-y-4 opacity-0"}`}
className={`mx-2 overflow-hidden text-ellipsis whitespace-nowrap text-xl font-normal transition duration-150 ease-in-out ${isScrolled ? "translate-y-0" : "translate-y-4 opacity-0"}`}
>
{headline}
</h2>
Expand All @@ -246,12 +246,12 @@ export function TopBar({ headline, description, showBackButton = true, options }
)}
</div>
<div
className="p-4 pt-8"
className="p-4 pt-10"
style={{
background: isScrolled ? "var(--md-sys-color-surface-container)" : "var(--md-sys-color-surface)",
}}
>
<h1 className="m-0 text-3xl font-medium">{headline}</h1>
<h1 className="m-0 text-3xl font-normal">{headline}</h1>
<div>{description}</div>
</div>
</>
Expand Down

0 comments on commit b5bbe3b

Please sign in to comment.