Skip to content

Commit

Permalink
Merge pull request #179 from oaknational/fix/overflow-hidden-header
Browse files Browse the repository at this point in the history
Fix/overflow hidden header
  • Loading branch information
k-huggs authored May 16, 2024
2 parents 23e585f + e4bd951 commit 73edb06
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/organisms/OakHeaderHero/OakHeaderHero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ const UnstyledComponent = (props: OakHeaderHeroProps) => {
authorImageSrc,
} = props;
return (
<OakBox $width={"100%"} $background={"bg-decorative3-main"}>
<OakBox
$width={"100%"}
$background={"bg-decorative3-main"}
$overflowX={"hidden"}
>
<OakMaxWidth>
<OakFlex
$minWidth={"100%"}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

exports[`OakHeaderHero matches snapshot 1`] = `
.c0 {
overflow-x: hidden;
width: 100%;
background: #a0b6f2;
font-family: Lexend,sans-serif;
Expand Down

0 comments on commit 73edb06

Please sign in to comment.