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

navigation block should cut too long names (SOLUTION INCLUDED)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.2
    • Fix Version/s: 2.0.6, 2.1.3
    • Component/s: Navigation, Themes
    • Labels:
      None

      Description

      change the name of an activity to a new one very long and WITHOUT SPACES. Choose, for instance, "very_long_name_missing_spaces" (without quotes, if you like)
      Look at the navigation block.
      You should see something like attachment01.png
      In order to have the name not overflowing the block box (attachment02.png) line 3 of the file the file /HEAD/blocks/navigation/styles.css should be changed from

       
      .block_navigation .block_tree li {margin:3px;list-style: none;padding:0;}

      to

       
      .block_navigation .block_tree li {margin:3px;list-style: none;padding:0;overflow:hidden;}

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  28/Nov/11