Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-3295

Content width can be miscalculated by the web browser

    XMLWordPrintable

    Details

      Description

      When in 'course editing mode' the content of the course can cause a miscalculation of the width of the topic / week section. This is because width is set to 'auto' in the CSS and not '100%' to tell the browser to use all available space for the 'content' within its container. So in topics_collapsed.css:

      #thetopics .section td.content, #thetopics col.content {
      width: auto;
      text-align: left;
      }

      needs to change to:

      #thetopics .section td.content, #thetopics col.content {
      width: 100%;
      text-align: left;
      }

      And a similar change in weeks_collapsed.css.

      Information on http://www.w3schools.com/cssref/pr_dim_width.asp.

      Reported by Mike Stapleton of TeachRemote.com who kindly allowed access to his Moodle to solve the issue. Screen shot not available due to confidentiality.

        Attachments

          Activity

            People

            Assignee:
            gb2048 Gareth J Barnard
            Reporter:
            gb2048 Gareth J Barnard
            Tester:
            Gareth J Barnard
            Participants:
            Component watchers:
            Gareth J Barnard, Gareth J Barnard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              10/Oct/11