Skip to content

Commit

Permalink
Noop: Fix Comment Typo & Move Styles Down Under It (#364)
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleyboar authored Nov 4, 2021
1 parent bf70e9b commit 0b1ecc8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,6 @@ Styleguide Objects.Section

/* Added `.o-section--banner` to require parent modifier class in markup */
.o-section--banner .o-section__banner-image {
position: absolute;
z-index: 1;

/* To size image to cover section dimensions but maintain ratio */
/* CAVEAT: This causes image to overflow beyond section */
Expand All @@ -204,7 +202,9 @@ Styleguide Objects.Section
min-height: 100%;
object-fit: cover;

/* To vertically center image within section */
/* To center image within section */
position: absolute;
z-index: 1;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
Expand Down

0 comments on commit 0b1ecc8

Please sign in to comment.