Skip to content

Commit

Permalink
Theme a submit button and CSS adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
ericras committed Apr 8, 2023
1 parent 31ff9af commit 96a2d54
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion css/components/form.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.page-node-type-webform form.webform-submission-form {
margin-top: 3em;
}

.webform-element--title-inline > label {
display: unset;
padding-right: unset;
Expand All @@ -8,7 +12,6 @@
margin: unset;
}

.form-item { margin: 0; }
.form-item .filter-guidelines {
position: relative;
font-size: .75rem;
Expand Down
1 change: 1 addition & 0 deletions templates/input--submit.html.twig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<input{{ attributes.addClass('dcf-btn').addClass('dcf-btn-primary') }} />{{ children }}

0 comments on commit 96a2d54

Please sign in to comment.