div class for mobile buttons

merge-requests/8/head
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; cursor: pointer;
margin: 5px; margin: 5px;
} }
.frontPageMobileButtons{
display: none;
}
.buttonMobile { .buttonMobile {
background: transparent; background: transparent;
border: none !important; border: none !important;
font-size: 0; font-size: 0;
padding: 0 0;
margin: 0 0;
} }
.button { .button {
border-radius: var(--button-corner-radius); border-radius: var(--button-corner-radius);
@ -1945,6 +1946,9 @@ div.container {
border-left: var(--tab-border-width) solid var(--tab-border-color); border-left: var(--tab-border-width) solid var(--tab-border-color);
border-right: var(--tab-border-width) solid var(--tab-border-color); border-right: var(--tab-border-width) solid var(--tab-border-color);
} }
.frontPageMobileButtons{
display: inline;
}
.buttonMobile { .buttonMobile {
border-radius: var(--button-corner-radius); border-radius: var(--button-corner-radius);
background-color: var(--button-background); background-color: var(--button-background);

View File

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