mirror of
https://github.com/chylex/Discord-History-Tracker.git
synced 2025-04-14 23:50:33 +03:00
Fix thumbnail links in renderer
This commit is contained in:
parent
6a9d6607ed
commit
6a6a44c04d
@ -42,7 +42,7 @@ var DISCORD = (function(){
|
||||
].join(""));
|
||||
|
||||
templateEmbedImage = new TEMPLATE([
|
||||
"<a href='{url}' class='embed'><img src='{url}' title='(image attachment not found)'></a>"
|
||||
"<a href='{url}' class='embed thumbnail'><img src='{url}' title='(image attachment not found)'></a><br>"
|
||||
].join(""));
|
||||
|
||||
templateEmbedDownload = new TEMPLATE([
|
||||
|
@ -194,18 +194,17 @@ body {
|
||||
}
|
||||
|
||||
.message .embed {
|
||||
display: block;
|
||||
display: inline-block;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.message img {
|
||||
.message .thumbnail img {
|
||||
max-height: 320px;
|
||||
max-width: calc(100vw - 299px);
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.message .download {
|
||||
display: inline-block;
|
||||
margin-right: 8px;
|
||||
padding: 8px 9px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.5);
|
||||
|
Loading…
x
Reference in New Issue
Block a user