mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-01 02:15:12 +00:00
Center icon
This commit is contained in:
1 parent
cc769e731e
commit
c07387d4ff
2 files changed
+6
-6
No files matched your search
+4
-4
@@ -783,10 +783,10 @@ div.gallery img {
|
||||
}
|
||||
|
||||
div.gallery img.galleryIcon {
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
right: 30px;
|
||||
width: 50px;
|
||||
position: relative;
|
||||
top: 0%;
|
||||
right: 0%;
|
||||
width: 10%;
|
||||
}
|
||||
|
||||
div.imagedesc {
|
||||
|
||||
+2
-2
@@ -1879,10 +1879,10 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
|
||||
if boxName=='tlmedia':
|
||||
galleryStr+= \
|
||||
'<div class="gallery">\n' \
|
||||
' <a target="_blank" href="'+attach['url']+'">\n' \
|
||||
' <a href="'+attach['url']+'">\n' \
|
||||
' <img src="'+attach['url']+'" alt="'+imageDescription+'" title="'+imageDescription+'" width="600" height="400">\n' \
|
||||
' </a>\n' \
|
||||
' <a href="'+messageId+'"><img src="/'+iconsDir+'/gallery.png" class="galleryicon" alt="'+translate['Show original post']+'" title="'+translate['Show original post']+'"/></a>\n'
|
||||
' <center><a href="'+messageId+'"><img src="/'+iconsDir+'/gallery.png" class="galleryIcon" alt="'+translate['Show original post']+'" title="'+translate['Show original post']+'"/></a></center>\n'
|
||||
#if postJsonObject['object'].get('content'):
|
||||
# galleryStr+= \
|
||||
# ' <div class="imagedesc">'+postJsonObject['object']['content']+'</div>\n'
|
||||
|
||||
Reference in new issue
Block a user