Style of scope icon

main
Bob Mottram 2023-02-09 14:00:16 +00:00
parent 0a5abcdd1c
commit eac063e86d
2 changed files with 12 additions and 3 deletions

View File

@ -758,6 +758,15 @@ a:focus {
vertical-align: middle;
}
.container img.postScopeIcon {
float: none;
width: 30px;
margin: 0 0;
padding: 0 0;
border-radius: 0;
vertical-align: middle;
}
.container.darker {
background-color: var(--main-bg-color-reply);
}

View File

@ -2188,17 +2188,17 @@ def individual_post_as_html(signing_priv_key_pem: str,
if is_followers_post(post_json_object):
title_str += \
' <img loading="lazy" decoding="async" src="/' + \
'icons/scope_followers.png" class="DMicon" title="' + \
'icons/scope_followers.png" class="postScopeIcon" title="' + \
translate['Followers'] + '"/>\n'
elif is_unlisted_post(post_json_object):
title_str += \
' <img loading="lazy" decoding="async" src="/' + \
'icons/scope_unlisted.png" class="DMicon" title="' + \
'icons/scope_unlisted.png" class="postScopeIcon" title="' + \
translate['Unlisted'] + '"/>\n'
elif is_reminder(post_json_object):
title_str += \
' <img loading="lazy" decoding="async" src="/' + \
'icons/scope_reminder.png" class="DMicon" title="' + \
'icons/scope_reminder.png" class="postScopeIcon" title="' + \
translate['Reminder'] + '"/>\n'
display_name = get_display_name(base_dir, post_actor, person_cache)