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

Course and category management 'Create new course' text too high.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.5, 2.8.3
    • Fix Version/s: 2.7.6, 2.8.4
    • Component/s: Themes
    • Labels:
    • Testing Instructions:
      Hide

      1) Make sure you are logged in as admin and current active theme is a bootstrapebase theme (ex. clean theme)
      2) Go to Courses > Manage courses and categories from the administration block.
      3) Make sure the text "Create new course" is appearing on same level / height as other list items ("Sort courses" etc).

      Show
      1) Make sure you are logged in as admin and current active theme is a bootstrapebase theme (ex. clean theme) 2) Go to Courses > Manage courses and categories from the administration block. 3) Make sure the text "Create new course" is appearing on same level / height as other list items ("Sort courses" etc).
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE
    • Pull Master Branch:

      Description

      On the 'Course and category management' page within a category there is a line of text containing 'Create new course' along with 'Sort courses' and 'Per page:'. The latters are styled with 'display: inline-block' but 'Create new course' is not - thus presents itself as higher than the other text. Screen shots to follow that illustrate this.

      The solution lies in 'bootstrapbase/less/moodle/course.less' where:

          .listing-actions {
              text-align:center;
              padding:0.4rem 0.3rem 0.3rem;
              line-height:2.2em;
              > .moodle-actionmenu {
                  display:inline-block;
                  .menu a {
                      padding-left:1rem;
                  }
              }
      

      can be changed to:

          .listing-actions {
              text-align:center;
              padding:0.4rem 0.3rem 0.3rem;
              line-height:2.2em;
              > .moodle-actionmenu, > a {
                  display:inline-block;
                  .menu a {
                      padding-left:1rem;
                  }
              }
      

      to solve the issue.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  9/Mar/15