Icon block

merge-requests/8/head
Bob Mottram 2020-11-07 13:39:54 +00:00
parent 7906713f67
commit 95247c2236
2 changed files with 7 additions and 0 deletions

View File

@ -154,6 +154,11 @@ body, html {
line-height: var(--line-spacing);
}
.leftColIcons img {
float: right;
display: block;
}
.postSeparatorImage img {
margin: var(--post-separator-margin) 0;
width: var(--post-separator-width);

View File

@ -5733,6 +5733,7 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
if editImageClass == 'leftColEdit':
htmlStr += '\n <center>\n'
htmlStr += ' <div class="leftColIcons">\n'
if editor:
# show the edit icon
htmlStr += \
@ -5761,6 +5762,7 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
'" src="/' + iconsDir + '/logorss.png" /></a>\n'
if rssIconAtTop:
htmlStr += rssIconStr
htmlStr += ' </div>\n'
if editImageClass == 'leftColEdit':
htmlStr += ' </center>\n'