main2
Bob Mottram 2019-09-28 15:36:58 +01:00
parent 535075b970
commit 6c84b4a1b7
2 changed files with 8 additions and 8 deletions

View File

@ -762,13 +762,6 @@ input[type=checkbox]
transform: translateY(-10%); transform: translateY(-10%);
} }
.galleryIcon {
position: absolute;
top: 15px;
right: 30px;
width: 50px;
}
.galleryContainer { .galleryContainer {
background-color: var(--main-bg-color); background-color: var(--main-bg-color);
} }
@ -789,6 +782,13 @@ div.gallery img {
height: auto; height: auto;
} }
div.gallery img.galleryIcon {
position: absolute;
top: 15px;
right: 30px;
width: 50px;
}
div.imagedesc { div.imagedesc {
padding: 22px; padding: 22px;
text-align: center; text-align: center;

View File

@ -1881,7 +1881,7 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
'<div class="gallery">\n' \ '<div class="gallery">\n' \
' <a target="_blank" href="'+attach['url']+'">\n' \ ' <a target="_blank" href="'+attach['url']+'">\n' \
' <img src="'+attach['url']+'" alt="'+imageDescription+'" title="'+imageDescription+'" width="600" height="400">\n' \ ' <img src="'+attach['url']+'" alt="'+imageDescription+'" title="'+imageDescription+'" width="600" height="400">\n' \
' <a href="'+messageId+'"><img class="galleryicon" src="/'+iconsDir+'/gallery.png" alt="'+translate['Show original post']+'" title="'+translate['Show original post']+'"/></a>\n' \ ' <a href="'+messageId+'"><img id="galleryicon" src="/'+iconsDir+'/gallery.png" alt="'+translate['Show original post']+'" title="'+translate['Show original post']+'"/></a>\n' \
' </a>\n' ' </a>\n'
#if postJsonObject['object'].get('content'): #if postJsonObject['object'].get('content'):
# galleryStr+= \ # galleryStr+= \