Front page buttons within div

merge-requests/8/head
Bob Mottram 2020-10-30 10:24:11 +00:00
parent 8923b5f1fa
commit 79ff9f1316
2 changed files with 8 additions and 4 deletions

View File

@ -1312,7 +1312,9 @@ div.container {
.buttonMobile {
background: transparent;
border: none !important;
font-size:0;
font-size: 0;
padding: 0 0;
margin: 0 0;
}
.button {
border-radius: var(--button-corner-radius);

View File

@ -3408,6 +3408,7 @@ def htmlProfile(cssCache: {}, iconsAsButtons: bool,
iconsDir = getIconsDir(baseDir)
if not authorized:
# the links button to show left column links
loginButton = ' <div>\n'
loginButton = \
' <a href="' + \
'/users/news/newswiremobile' + \
@ -3425,6 +3426,7 @@ def htmlProfile(cssCache: {}, iconsAsButtons: bool,
'"><button class="buttonMobile">' + \
'<span>' + translate['Login'] + \
'</span></button></a>\n'
loginButton = ' </div>\n'
else:
editProfileStr = \
'<a class="imageAnchor" href="' + usersPath + '/editprofile">' + \