Skip to content

Commit

Permalink
Fixing style
Browse files Browse the repository at this point in the history
  • Loading branch information
jalagari committed Aug 23, 2024
1 parent 6a8869b commit 51f67f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion blocks/form/rules/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function setValue(formModel, fieldId, value) {
const field = formModel.getElement(fieldId);
if (field) {
if (field.fieldType === 'plain-text') {
document.getElementById(fieldId).innerHTML = value;
document.getElementById(fieldId).innerHTML = `<p><h4>${value}</h4></p>`;
} else {
field.value = value;
}
Expand Down
9 changes: 5 additions & 4 deletions styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -218,10 +218,7 @@ main .form form .field-onthego.field-wrapper {
}

main .form form .field-offermsg,
main .form form .field-subscribeoffer input,
main .form form .field-winneroffer input,
main .form form .field-yourfavteam input,
main .form form .field-onthego input {
main .form form .field-favteam input {
font-size: var(--heading-font-size-m);
font-weight: bold;
padding: 0;
Expand All @@ -233,3 +230,7 @@ main .form form .field-onthego input {
.field-streamnfl {
text-align: center;
}

main .form form .field-offermsg {
padding-top: 20px;
}

0 comments on commit 51f67f0

Please sign in to comment.