Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-1843

Course cover images are slightly blurred in the course list

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 10.0
    • Fix Version/s: 10.4.4
    • Component/s: None
    • Labels:
      None

      Description

      I stumbled over a really minor issue: In the course list (the version with the bigger thumbnails) cover images are downscaled by 1px and therefore appearing slightly blurred (original image width: 180px, downscaled to 179px). This happens because the box-sizing-model is set to border-box and therefore includes the right 1px border. The fix is as simple as that: set the box-sizing for .o_visual to content-box so the border is excluded and the image displayed in its full and shiny 180 pixels. See the attachment for clarification.

      (Tested with Chrome/OSX)

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            fetzer Raphael Fetzer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 5 minutes Original Estimate - 5 minutes
                5m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 45 minutes
                45m