Remove class from link

merge-requests/8/head
Bob Mottram 2020-10-31 15:14:47 +00:00
parent d6b7f07be9
commit 83fc9217a8
2 changed files with 9 additions and 14 deletions

View File

@ -1077,7 +1077,7 @@ div.container {
color: var(--column-right-fg-color-voted-on); color: var(--column-right-fg-color-voted-on);
float: right; float: right;
} }
.imageAnchorMobile img.timelineicon { .imageAnchorMobile img {
display: none; display: none;
} }
.timeline-banner { .timeline-banner {
@ -1751,14 +1751,8 @@ div.container {
color: var(--column-right-fg-color-voted-on); color: var(--column-right-fg-color-voted-on);
float: right; float: right;
} }
.imageAnchorMobile img.timelineicon { .imageAnchorMobile img {
display: inline; display: inline;
float: var(--icons-side);
margin-left: 0px;
margin-right:0;
padding: 0 0;
margin: 0 0;
width: 50px;
} }
.timeline-banner { .timeline-banner {
width: 98vw; width: 98vw;

View File

@ -6065,14 +6065,14 @@ def headerButtonsFrontScreen(translate: {},
'</span></button></a>\n' '</span></button></a>\n'
else: else:
headerStr += \ headerStr += \
' <a class="imageAnchorMobile" href="' + \ ' <a href="' + \
'/users/news/newswiremobile">' + \ '/users/news/newswiremobile">' + \
'<img loading="lazy" src="/' + iconsDir + \ '<img loading="lazy" src="/' + iconsDir + \
'/newswire.png" title="' + translate['Newswire'] + \ '/newswire.png" title="' + translate['Newswire'] + \
'" alt="| ' + translate['Newswire'] + \ '" alt="| ' + translate['Newswire'] + \
'" class="timelineicon"/></a>\n' '" class="timelineicon"/></a>\n'
headerStr += \ headerStr += \
' <a class="imageAnchorMobile" href="' + \ ' <a href="' + \
'/users/news/linksmobile">' + \ '/users/news/linksmobile">' + \
'<img loading="lazy" src="/' + iconsDir + \ '<img loading="lazy" src="/' + iconsDir + \
'/links.png" title="' + translate['Links'] + \ '/links.png" title="' + translate['Links'] + \
@ -6081,15 +6081,16 @@ def headerButtonsFrontScreen(translate: {},
else: else:
if not authorized: if not authorized:
headerStr += \ headerStr += \
' <a href="/login' + \ ' <a href="/login">' + \
'"><button class="buttonMobile">' + \ '<button class="buttonMobile">' + \
'<span>' + translate['Login'] + \ '<span>' + translate['Login'] + \
'</span></button></a>\n' '</span></button></a>\n'
if headerStr: if headerStr:
headerStr = \ headerStr = \
' <div class="frontPageMobileButtons">\n' + \ '\n <div class="frontPageMobileButtons">\n' + \
headerStr + '</div>\n' headerStr + \
' </div>\n'
return headerStr return headerStr