Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-4295

Include variable to control course card image aspect ratio

XMLWordPrintable

    • MOODLE_402_STABLE

      Currently we have to change some css to control course card image aspect ratio using padding-top.

      It would be great to have something like:
      --course-card-image-aspect-ratio: 1/4; that automatically calculates the padding-top of the images.

      Additionally we have 2 AR to change: one for the course card on my courses page / course overview block, and another on the smaller cards with horizontal scroll (recent courses block and similar). So both of the vars should be created.

            Unassigned Unassigned
            pferre22 Pau Ferrer
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.