Icon block

main
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); line-height: var(--line-spacing);
} }
.leftColIcons img {
float: right;
display: block;
}
.postSeparatorImage img { .postSeparatorImage img {
margin: var(--post-separator-margin) 0; margin: var(--post-separator-margin) 0;
width: var(--post-separator-width); width: var(--post-separator-width);

View File

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