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

navigation block should cut too long names (SOLUTION INCLUDED)

    XMLWordPrintable

    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;}

        Attachments

          Activity

            People

            Assignee:
            daniss Daniele Cordella
            Reporter:
            daniss Daniele Cordella
            Integrator:
            Sam Hemelryk
            Tester:
            Sam Hemelryk
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Bas Brands
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

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