From: David Mudrak Date: Sat, 2 Jan 2010 22:54:13 +0000 (+0000) Subject: Preventing assignment CSS from influencing other modules X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=94846b2673f1d1a90869bc9a38936c24cb10e158;p=moodle.git Preventing assignment CSS from influencing other modules This was discovered during workshop testing. User pictures were all displayed in size 35x35px regardless their size setting. This was caused by mod/assignment standard theme. --- diff --git a/theme/standard/style/mod_assignment.css b/theme/standard/style/mod_assignment.css index 05a16f3937..8f9b0209dc 100644 --- a/theme/standard/style/mod_assignment.css +++ b/theme/standard/style/mod_assignment.css @@ -1,11 +1,11 @@ -.userpicture, -.picture user, -.picture teacher { +.mod-assignment .userpicture, +.mod-assignment .picture user, +.mod-assignment .picture teacher { width:35px; height: 35px; vertical-align:top; } -.modform { +.mod-assignment .modform { text-align:center; } #wordcount {