Skip to content

Commit

Permalink
Merge pull request #193 from oaknational/feat-plan-a-lesson-hero-
Browse files Browse the repository at this point in the history
Feat plan a lesson hero author h to p
  • Loading branch information
JBR90 authored May 23, 2024
2 parents ab7b960 + 06d313b commit c27d083
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
5 changes: 1 addition & 4 deletions src/components/organisms/OakHeaderHero/OakHeaderHero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ const UnstyledComponent = (props: OakHeaderHeroProps) => {
>
<OakFlex
$alignSelf={"flex-start"}
$ph={"inner-padding-s"}
$height={"100%"}
$flexDirection={"column"}
>
Expand Down Expand Up @@ -106,9 +105,7 @@ const UnstyledComponent = (props: OakHeaderHeroProps) => {
$zIndex={"in-front"}
/>
<OakBox>
<OakHeading tag="h3" $font={"heading-7"}>
{authorName}
</OakHeading>
<OakP $font={"heading-7"}>{authorName}</OakP>
<OakP $font={"body-3"}>{authorTitle}</OakP>
</OakBox>
</OakFlex>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ exports[`OakHeaderHero matches snapshot 1`] = `
.c5 {
height: 100%;
padding-left: 0.75rem;
padding-right: 0.75rem;
font-family: Lexend,sans-serif;
}
Expand Down Expand Up @@ -590,11 +588,11 @@ exports[`OakHeaderHero matches snapshot 1`] = `
<div
className="c18"
>
<h3
<p
className="c19"
>
Rachel Storm
</h3>
</p>
<p
className="c20"
>
Expand Down

0 comments on commit c27d083

Please sign in to comment.