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

Add & remove buttons on several forms misaligned in Clean theme

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5, 2.6.1, 2.7
    • Fix Version/s: 2.5.5, 2.6.2
    • Component/s: HTML and CSS
    • Labels:
    • Testing Instructions:
      Hide

      With Clean theme...

      1. Visit a few User selector forms
        • Enrol users (non-JS)
        • Add users to a cohort
        • Add users to a role
      2. Look at the part with the buttons "Add" and "Remove"
      3. Make sure that:
        • The margin left and right of the buttons is the same each side and each button
        • The top button is aligned with the multi-selects
        • (Using the enrol one) The fields in between the buttons are well displayed
      Show
      With Clean theme... Visit a few User selector forms Enrol users (non-JS) Add users to a cohort Add users to a role Look at the part with the buttons "Add" and "Remove" Make sure that: The margin left and right of the buttons is the same each side and each button The top button is aligned with the multi-selects (Using the enrol one) The fields in between the buttons are well displayed
    • Affected Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-41362-master

      Description

      Several forms in Moodle have two list either side and two buttons in the middle to add and remove items. Adding users to groups, or adding users to roles are two examples.

      Currently the top button has an extra 5px of margin on the left so the buttons are not aligned.

      Changing the CSS so that both have margin: auto on the left and right is probably the best way forward.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Mar/14