Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-68844

Static elements missalignment in form groups

    XMLWordPrintable

    Details

      Description

      This is probably a regression introduced by MDL-67968.

      New 'div' elements added in 'element-group.mustache' and 'element-group-inline.mustache' caused static elements missalignment.

       Without the patch:

      With the patch:

      Adding 'align-items-center' class to the 'd-flex' new div elements solves the problem.

       

        Attachments

        1. formtest.php
          2 kB
        2. image-2020-05-27-13-05-58-640.png
          image-2020-05-27-13-05-58-640.png
          16 kB
        3. image-2020-05-27-13-07-26-684.png
          image-2020-05-27-13-07-26-684.png
          15 kB
        4. MDL-68844.png
          MDL-68844.png
          215 kB

          Issue Links

            Activity

              People

              Assignee:
              mikelmartíncorrales Mikel Martín Corrales
              Reporter:
              mikelmartíncorrales Mikel Martín Corrales
              Peer reviewer:
              Paul Holden
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Anna Carissa Sadia
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Jul/20

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours, 10 minutes
                  5h 10m