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

View File

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