From ead1f5bda0d42e2ed55e2bc1202ad676632e5a79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Mudr=C3=A1k?= Date: Wed, 13 Nov 2013 02:32:05 +0100 Subject: [PATCH] MDL-42711 theme port from LM: vertical alignment of the course icon When the course name spans over multiple lines, vertically centered icon does not look nice (or at least our beloved Benevolent Dictator for Life does not like it ;-). This hack alignes the icon vertically with the first line of the course name all the time (or at least it tries to). --- theme/bootstrapbase/less/moodle/course.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/bootstrapbase/less/moodle/course.less b/theme/bootstrapbase/less/moodle/course.less index a1afe8b2774..264709507e0 100644 --- a/theme/bootstrapbase/less/moodle/course.less +++ b/theme/bootstrapbase/less/moodle/course.less @@ -399,7 +399,7 @@ span.editinstructions { background-image:url([[pix:moodle|i/course]]); background-repeat: no-repeat; padding-left:21px; - background-position: center left; + background-position: left 0.5em; } .coursebox.remotehost > .info > .categoryname a { background-image:url([[pix:moodle|i/mnethost]]);