Header style

main
Bob Mottram 2022-11-02 16:09:07 +00:00
parent 18f9559f38
commit b34c0622fa
1 changed files with 5 additions and 3 deletions

View File

@ -446,8 +446,8 @@ def _get_profile_header(base_dir: str, http_prefix: str, nickname: str,
' <b>' + occupation_name + '</b><br>\n'
html_str += \
' <h1 class="headerwithimg">' + \
display_name + '</h1>\n' + occupation_str
' <div class="headerwithimg">\n' + \
' <h1>\n' + display_name + '</h1>\n</div>\n' + occupation_str
html_str += \
' <p><b>@' + nickname + '@' + domain_full + '</b><br>\n'
@ -551,7 +551,9 @@ def _get_profile_header_after_search(nickname: str, default_timeline: str,
if not display_name:
display_name = search_nickname
html_str += \
' <h1 class="headerwithimg">' + display_name + '</h1>\n' + \
' <div class="headerwithimg">\n' + \
' <h1>' + display_name + '</h1>\n' + \
' </div>\n' + \
' <p><b>@' + search_nickname + '@' + search_domain_full + \
'</b><br>\n'
if joined_date: