fix typo, remove colors form html tag

This commit is contained in:
Joao Ramos 2021-11-19 09:51:58 +01:00
parent eb7681e345
commit 37ae437567

View File

@ -288,7 +288,7 @@ class Filter:
except AttributeError: except AttributeError:
pass pass
# Fix body max with on images tab # Fix body max width on images tab
style = soup.find('style') style = soup.find('style')
div = soup.find('div', attrs={'class': "n692Zd"}) div = soup.find('div', attrs={'class': "n692Zd"})
if style and div and not self.mobile: if style and div and not self.mobile:
@ -299,9 +299,7 @@ class Filter:
'font-size: 14px;' 'font-size: 14px;'
'line-height: 20px;' 'line-height: 20px;'
'text-size-adjust: 100%;' 'text-size-adjust: 100%;'
'color: #3c4043;'
'word-wrap: break-word;' 'word-wrap: break-word;'
'background-color: #fff;'
'}' '}'
) )
css = f"{css_html_tag}{css}" css = f"{css_html_tag}{css}"