Edit icon on right

main
Bob Mottram 2020-10-03 20:33:02 +01:00
parent 8b3bfcbc00
commit ef6452a524
2 changed files with 8 additions and 2 deletions

View File

@ -1019,6 +1019,8 @@ aside .toggle-inside li {
.col-right img.rightColEditImage { .col-right img.rightColEditImage {
background: var(--column-left-color); background: var(--column-left-color);
width: var(--column-right-icon-size); width: var(--column-right-icon-size);
float: right;
margin-right: 40px;
} }
.col-right img.rightColImg { .col-right img.rightColImg {
background: var(--column-left-color); background: var(--column-left-color);

View File

@ -5305,6 +5305,7 @@ def getRightColumnContent(baseDir: str, nickname: str, domainFull: str,
nickname + '/right_col_image.png" />\n' + \ nickname + '/right_col_image.png" />\n' + \
' </center>\n' ' </center>\n'
if editImageClass == 'rightColEdit':
htmlStr += '\n <center>\n' htmlStr += '\n <center>\n'
if moderator: if moderator:
@ -5318,7 +5319,10 @@ def getRightColumnContent(baseDir: str, nickname: str, domainFull: str,
translate['Edit newswire'] + '" src="/' + \ translate['Edit newswire'] + '" src="/' + \
iconsDir + '/edit.png" /></a>\n' iconsDir + '/edit.png" /></a>\n'
if editImageClass == 'rightColEdit':
htmlStr += ' </center>\n' htmlStr += ' </center>\n'
else:
htmlStr += ' <br>\n'
return htmlStr return htmlStr