Emoji style

main
Bob Mottram 2023-01-20 14:08:30 +00:00
parent ab59a6ae6b
commit e9b792db43
2 changed files with 14 additions and 1 deletions

View File

@ -107,6 +107,16 @@ a:focus {
border: 2px solid var(--focus-color);
}
.emoji {
float: none;
width: 50px;
margin-left: 0px;
margin-right: 0px;
padding-right: 0px;
border-radius: 0px;
vertical-align: middle;
}
.transparent {
color: transparent;
background: transparent;

View File

@ -784,8 +784,11 @@ def download_image_any_mime_type(session, url: str,
mime_type = None
content_type = None
result = None
image_mime_types = \
'image/x-icon, image/png, image/webp, image/jpeg, image/gif, ' + \
'image/avif, image/heic, image/jxl, image/svg+xml'
session_headers = {
'Accept': 'image/x-icon, image/png, image/webp, image/jpeg, image/gif'
'Accept': image_mime_types
}
try:
result = session.get(url, headers=session_headers,