Skip to content

Commit

Permalink
MDL-68844 formslib: Fix inline layout for static elements
Browse files Browse the repository at this point in the history
  • Loading branch information
roland04 committed May 27, 2020
1 parent 68fd8d8 commit 22a8086
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/form/templates/element-group-inline.mustache
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{< core_form/element-template-inline }}
{{$element}}
<div class="d-flex flex-wrap">
<div class="d-flex flex-wrap align-items-center">
{{#element.elements}}
{{{separator}}}
{{{html}}}
Expand Down
2 changes: 1 addition & 1 deletion lib/form/templates/element-group.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{{$element}}
<fieldset class="w-100 m-0 p-0 border-0">
<legend class="sr-only">{{label}}</legend>
<div class="d-flex flex-wrap">
<div class="d-flex flex-wrap align-items-center">
{{#element.elements}}
{{{separator}}}
{{{html}}}
Expand Down

0 comments on commit 22a8086

Please sign in to comment.