MDL-54652 grade_report: fix css lint issues
authorDan Poltawski <dan@moodle.com>
Thu, 19 May 2016 22:14:41 +0000 (23:14 +0100)
committerDan Poltawski <dan@moodle.com>
Thu, 16 Jun 2016 19:49:04 +0000 (20:49 +0100)
max-width: initial isn't valid css and in my testing it makes no
difference, so is removed.

We also remove invalid css on exception.

This reverts commit 72ece42858643c789d2c2f86fccdab0afefa18d0

grade/report/grader/styles.css

index ef92e97..4c3aac7 100644 (file)
@@ -34,7 +34,6 @@
 .dir-rtl.path-grade-report-grader .gradeparent table {
     border-left-width: 0;
     border-right-width: 1px;
-    max-width: initial;
 }
 
 /**
 .path-grade-report-grader .yui3-overlay {
   border: 0;
   background: none;
-  background-color: initial;
+  background-color: inherit;
   min-width: 200px;
 }