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