Position of div

merge-requests/8/head
Bob Mottram 2020-11-06 15:15:25 +00:00
parent 5c383bf329
commit ef7b17196f
1 changed files with 4 additions and 3 deletions

View File

@ -6604,7 +6604,7 @@ def headerButtonsTimeline(defaultTimeline: str,
if not newsHeader:
if not iconsAsButtons:
# the search button
# the search icon
tlStr += \
'<a class="imageAnchor" href="' + usersPath + \
'/search"><img loading="lazy" src="/' + \
@ -6612,9 +6612,8 @@ def headerButtonsTimeline(defaultTimeline: str,
translate['Search and follow'] + '" alt="| ' + \
translate['Search and follow'] + \
'" class="timelineicon"/></a>'
# end of headericons div
tlStr += '</div>'
else:
# the search button
tlStr += \
'<a href="' + usersPath + \
'/search"><button class="button">' + \
@ -6657,6 +6656,8 @@ def headerButtonsTimeline(defaultTimeline: str,
'/showhide.png" title="' + translate['Show/Hide Buttons'] + \
'" alt="| ' + translate['Show/Hide Buttons'] + \
'" class="timelineicon"/></a>\n'
# end of headericons div
tlStr += '</div>'
else:
tlStr += \
'<a href="' + usersPath + '/minimal' + \