Small change to mobile styling

main
Ben Busby 2020-04-16 10:10:18 -06:00
parent 024552f2df
commit e72ccc4988
1 changed files with 2 additions and 3 deletions

View File

@ -73,9 +73,8 @@ class Filter:
# Update logo # Update logo
logo = soup.find('a', {'class': 'l'}) logo = soup.find('a', {'class': 'l'})
if logo is not None and self.mobile: if logo and self.mobile:
logo.insert(0, 'Shoogle') logo['style'] = 'display:flex; justify-content:center; align-items:center; color:#685e79; font-size:18px;'
logo['style'] = 'display: flex;justify-content: center;align-items: center;color: #685e79;font-size: 18px;'
# Replace hrefs with only the intended destination (no "utm" type tags) # Replace hrefs with only the intended destination (no "utm" type tags)
for a in soup.find_all('a', href=True): for a in soup.find_all('a', href=True):