mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
2652e6b732
commit
0ab3348754
@ -209,6 +209,9 @@ class RunStyle(object):
|
||||
|
||||
if self.highlight is not inherit and self.highlight != 'transparent':
|
||||
c['background-color'] = self.highlight
|
||||
|
||||
if self.b:
|
||||
c['font-weight'] = 'bold'
|
||||
return self._css
|
||||
|
||||
def same_border(self, other):
|
||||
|
Loading…
x
Reference in New Issue
Block a user