Skip to content

Commit

Permalink
Ensure edge of header is flush with xlarge screen sizes [PUB-200]
Browse files Browse the repository at this point in the history
  • Loading branch information
zachgarwood committed Aug 21, 2024
1 parent 5ac3a66 commit b6f979c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions frontend/scss/molecules/_m-article-header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1221,16 +1221,18 @@

@include breakpoint('xlarge') {
.m-article-header__text {
max-width: colspan(14, xlarge);
max-width: colspan(14, 'xlarge');
z-index: 1;
}
.m-article-header__text::before {
left: -50%;
left: -300%;
margin-left: 0;
max-width: colspan(14, xlarge);
max-width: colspan(50, 'xlarge');
}
.m-article-header__img {
flex: 0 0 auto;
height: 75vh;
right: 50%;
margin-right: -50vw;
}
}
}
Expand Down

0 comments on commit b6f979c

Please sign in to comment.