Merge pull request #1614 from sbkolate/patch-1

Fix table header background color in pdf view
This commit is contained in:
Anand Doshi 2016-03-07 20:14:06 +05:30
commit 5c734a696f
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ class TestPrintFormat(unittest.TestCase):
def test_print_user_modern(self):
print_html = self.test_print_user("Modern")
self.assertTrue(re.findall('th {[\s]*background-color: #eee;[\s]*}', print_html))
self.assertTrue(re.findall('th {[\s]*background-color: #eee !important;[\s]*}', print_html))
def test_print_user_classic(self):
print_html = self.test_print_user("Classic")

View file

@ -13,5 +13,5 @@
}
.print-format th {
background-color: #eee;
background-color: #eee !important;
}