Skip to content

Commit

Permalink
#54 Fixes after CR
Browse files Browse the repository at this point in the history
  • Loading branch information
tdziezykDS committed Sep 14, 2023
1 parent 9d54613 commit 59c3973
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions blocks/v2-columns/v2-columns.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
gap: 0;
width: 100%;
justify-content: center;
align-items: center;
align-items: flex-start;
}

.v2-columns__column--with-image,
Expand Down Expand Up @@ -106,6 +106,7 @@
}

.v2-columns__row {
align-items: center;
flex-direction: row;
gap: 16px;
}
Expand All @@ -123,11 +124,11 @@
}

.v2-columns__column--with-text .v2-columns__heading {
margin: 24px 0 12px;
margin: 0;
}

.v2-columns__column--with-text .v2-columns__body {
margin: 0 0 24px;
margin: 0 0 14px;
}

.v2-columns--info {
Expand All @@ -148,8 +149,8 @@
}

.v2-columns--info .v2-columns__column--info-main {
width: auto;
align-self: center;
max-width: 329px;
width: 100%;
}
}
2 changes: 1 addition & 1 deletion blocks/v2-columns/v2-columns.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default async function decorate(block) {
});

const headings = [...col.querySelectorAll('h1, h2, h3, h4, h5, h6')];
headings.forEach((heading) => heading.classList.add(`${blockName}__heading`, 'h1'));
headings.forEach((heading) => heading.classList.add(`${blockName}__heading`, 'h2'));

// icons
[...col.querySelectorAll('.icon')].forEach((icon) => {
Expand Down

0 comments on commit 59c3973

Please sign in to comment.