Skip to content

Commit

Permalink
add CSS class to row that adds flex box and fixes padding
Browse files Browse the repository at this point in the history
  • Loading branch information
AddisonDunn committed Dec 15, 2023
1 parent 4fae62e commit 6c6c6f6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion corehq/apps/cloudcare/templates/form_entry/templates.html
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ <h1 class="title" data-bind="text: title, visible: !showInFormNavigation()"></h1

<script type="text/html" id="grouped-question-tile-row-fullform-ko-template">
<div class="row">
<div data-bind="template: { name: childTemplate, foreach: $data.children }"/>
<div data-bind="template: { name: childTemplate, foreach: $data.children }" class="question-tile-row"/>
</div>
</script>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,3 +193,15 @@
font-size: 14px;
}
}

.question-tile-row {
display: flex;
align-items: center;
margin-bottom: 20px;
* .form-group, * p, * .control-label {
padding-top: 0px !important;
padding-bottom: 0px !important;
margin-top: 0px !important;
margin-bottom: 0px !important;
}
}

0 comments on commit 6c6c6f6

Please sign in to comment.