Skip to content

Commit

Permalink
#68 Fixes after CR
Browse files Browse the repository at this point in the history
  • Loading branch information
tdziezykDS committed Nov 29, 2023
1 parent fd1a7fa commit 8b1665a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions blocks/v2-event-notify/v2-event-notify.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
flex-direction: column;
gap: 8px;
text-align: center;
max-width: 506px;
max-width: var(--text-block-max-width);
margin: 40px auto;
}

Expand Down Expand Up @@ -50,7 +50,7 @@
align-items: center;
}

.v2-event-notify__container .event-notify__agrement-section {
.v2-event-notify__container .event-notify__agreement-section {
display: flex;
flex-direction: column;
gap: 8px;
Expand Down Expand Up @@ -112,7 +112,7 @@
gap: 16px;
}

.v2-event-notify__container .event-notify__agrement-section {
.v2-event-notify__container .event-notify__agreement-section {
display: flex;
justify-content: center;
flex-direction: column;
Expand All @@ -132,7 +132,6 @@
@media (min-width: 1200px) {
.v2-event-notify__container .v2-event-notify__text-wrapper {
margin: 48px auto;
max-width: 694px;
gap: 24px;
}

Expand All @@ -158,7 +157,7 @@
width: calc(50% - 10px);
}

.v2-event-notify__container .event-notify__agrement-section {
.v2-event-notify__container .event-notify__agreement-section {
margin-top: 48px;
}

Expand Down
2 changes: 1 addition & 1 deletion blocks/v2-forms/forms/event-notify.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const formContent = `
<span class="${formName}__error-message ${formName}__error-message--hidden"></span>
</div>
</div>
<div class="${formName}__agrement-section">
<div class="${formName}__agreement-section">
<div class="checkbox-with-label">
<input type="checkbox" id="${formName}-agreement" name="marketing_consent" value="true" required/>
<label for="${formName}-agreement">
Expand Down

0 comments on commit 8b1665a

Please sign in to comment.