Skip to content

Commit

Permalink
Merge pull request #33884 from dimagi/ad/question-tiles-vertical-alig…
Browse files Browse the repository at this point in the history
…nment

Make question tile questions center aligned
  • Loading branch information
AddisonDunn committed Dec 21, 2023
2 parents 295a8eb + 01c3c3f commit ff48076
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: 15px;
* .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 ff48076

Please sign in to comment.