Div for icons at the bottom of newswire/links columns

merge-requests/8/head
Bob Mottram 2020-10-31 12:51:56 +00:00
parent 726e728d9a
commit 970e986cf6
2 changed files with 8 additions and 2 deletions

View File

@ -1645,6 +1645,9 @@ div.container {
padding: 10px; padding: 10px;
margin: 20px 60px; margin: 20px 60px;
} }
.columnIcons img {
float: right;
}
} }
@media screen and (min-width: 2200px) { @media screen and (min-width: 2200px) {
@ -2290,4 +2293,7 @@ div.container {
padding: 10px; padding: 10px;
margin: 40px 80px; margin: 40px 80px;
} }
.columnIcons img {
float: right;
}
} }

View File

@ -5665,7 +5665,7 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
rssAtBottom = not rssIconAtTop or not showHeaderImage rssAtBottom = not rssIconAtTop or not showHeaderImage
if linksFileContainsEntries and rssAtBottom: if linksFileContainsEntries and rssAtBottom:
htmlStr += '<br>' + rssIconStr htmlStr += '<br><div class="columnIcons">' + rssIconStr + '</div>'
return htmlStr return htmlStr
@ -5883,7 +5883,7 @@ def getRightColumnContent(baseDir: str, nickname: str, domainFull: str,
rssAtBottom = not rssIconAtTop or not showHeaderImage rssAtBottom = not rssIconAtTop or not showHeaderImage
if newswireContentStr and rssAtBottom: if newswireContentStr and rssAtBottom:
htmlStr += '<br>' + rssIconStr htmlStr += '<br><div class="columnIcons">' + rssIconStr + '</div>'
return htmlStr return htmlStr