mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
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).
This commit is contained in:
parent
3bae4448cf
commit
ead1f5bda0
1 changed files with 1 additions and 1 deletions
|
@ -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]]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue