Skip to content

Commit

Permalink
fix(mrc): apply css stylings for header component (#14804)
Browse files Browse the repository at this point in the history
ref: 14785

Signed-off-by: Anoop N <[email protected]>
  • Loading branch information
anooparveti authored Jan 8, 2025
1 parent 73bb8b6 commit fdec1f1
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@ export const Headers: React.FC<HeadersProps> = ({
<div className="flex items-center justify-between">
<div>
{title && <Title>{title}</Title>}
{subtitle && <Subtitle className="block">{subtitle}</Subtitle>}
{description && <OdsText preset="span">{description}</OdsText>}
{subtitle && <Subtitle className="block mb-6">{subtitle}</Subtitle>}
{description && (
<OdsText className="mb-[16px]" preset="span">
{description}
</OdsText>
)}
</div>
{headerButton && <div>{headerButton}</div>}
</div>
Expand Down

0 comments on commit fdec1f1

Please sign in to comment.