Merge pull request #1614 from sbkolate/patch-1
Fix table header background color in pdf view
This commit is contained in:
commit
5c734a696f
2 changed files with 2 additions and 2 deletions
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -13,5 +13,5 @@
|
|||
}
|
||||
|
||||
.print-format th {
|
||||
background-color: #eee;
|
||||
background-color: #eee !important;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue