Skip to content

Commit

Permalink
Merge pull request #89 from hlxsites/feature/forms-issue
Browse files Browse the repository at this point in the history
Fixed the forms issues
  • Loading branch information
pardeepgera23 authored Nov 7, 2023
2 parents db10dd4 + f6c61a3 commit 26cbd1b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions blocks/forms/forms.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
.forms {
padding: 50px 0;
}

.grey-forms {
border: 1px solid #ccc;
padding: 10px 15px;
background-color: #eee;
}
2 changes: 1 addition & 1 deletion blocks/forms/forms.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default function decorate(block) {
formConfig = readBlockConfig(block);
const form = document.createElement('div');
form.id = formConfig.target;
form.classList.add('content', 'outer');
form.classList.add('content');
block.textContent = '';
block.append(form);
}
Expand Down

0 comments on commit 26cbd1b

Please sign in to comment.