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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.7.5, 2.8.3
    • 2.7.6, 2.8.4
    • Themes
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • 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).

    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.

      Attachments

        Activity

          People

            shashitechno Shashikant vaishnav
            gb2048 Gareth J Barnard
            Mary Evans Mary Evans
            Andrew Lyons Andrew Lyons
            Dave Cooper Dave Cooper
            Huong Nguyen, Bas Brands, Mathew May, Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9/Mar/15