forked from LiveCarta/BookConverter
Make width with % and px
This commit is contained in:
@@ -38,7 +38,7 @@ class StyleReader:
|
||||
"margin-left": lambda x: self.convert_tag_style_values(x, is_indent=True),
|
||||
"margin-top": lambda x: self.convert_tag_style_values(x, is_indent=True),
|
||||
"margin": lambda x: self.convert_tag_style_values(x, is_indent=True),
|
||||
"width": self.convert_tag_style_values,
|
||||
"width": lambda x: self.convert_tag_style_values(x) if "%" not in x else x
|
||||
}
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user