div class for mobile buttons

main
Bob Mottram 2020-10-30 10:49:20 +00:00
parent 7e6c39bad6
commit 626e55b953
2 changed files with 7 additions and 3 deletions

View File

@ -1309,12 +1309,13 @@ div.container {
cursor: pointer;
margin: 5px;
}
.frontPageMobileButtons{
display: none;
}
.buttonMobile {
background: transparent;
border: none !important;
font-size: 0;
padding: 0 0;
margin: 0 0;
}
.button {
border-radius: var(--button-corner-radius);
@ -1945,6 +1946,9 @@ div.container {
border-left: var(--tab-border-width) solid var(--tab-border-color);
border-right: var(--tab-border-width) solid var(--tab-border-color);
}
.frontPageMobileButtons{
display: inline;
}
.buttonMobile {
border-radius: var(--button-corner-radius);
background-color: var(--button-background);

View File

@ -3408,7 +3408,7 @@ def htmlProfile(cssCache: {}, iconsAsButtons: bool,
iconsDir = getIconsDir(baseDir)
if not authorized:
# the links button to show left column links
loginButton = ' <div class="buttonMobile">\n'
loginButton = ' <div class="frontPageMobileButtons">\n'
loginButton += \
' <a href="' + \
'/users/news/newswiremobile' + \