Skip to content

Commit

Permalink
remove specific background style for testimonial
Browse files Browse the repository at this point in the history
  • Loading branch information
cogniSyb committed Oct 19, 2023
1 parent 351a59e commit 1e8ad7d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ export function decorateLinks(block) {
}

function decorateSectionBackgrounds(main) {
const variantClasses = ['black-background', 'gray-background', 'gray-background-overlap', 'background-with-dots'];
const variantClasses = ['black-background', 'gray-background', 'background-with-dots'];

main.querySelectorAll(':scope > .section').forEach((section) => {
// transform background color variants into BEM classnames
Expand Down
12 changes: 0 additions & 12 deletions styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -1213,18 +1213,6 @@ main .section.responsive-title h1 {
padding: var(--section-div-padding);
}

.redesign-v2 div.section--gray-background-overlap {
position: relative;
}

.section--gray-background-overlap::before {
content: '';
position: absolute;
inset: 0 0 auto;
height: 155px;
background: var(--c-secondary-silver);
}

.section--with-background > picture:first-of-type img {
display: block;
height: 100%;
Expand Down

0 comments on commit 1e8ad7d

Please sign in to comment.