mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-04-29 09:12:40 +00:00
Make it a bit better
This commit is contained in:
@@ -121,8 +121,7 @@ namespace DiscordChatExporter.Services
|
|||||||
// Avatar
|
// Avatar
|
||||||
messageHtml.AppendChild(HtmlNode.CreateNode("<div class=\"msg-avatar\">" +
|
messageHtml.AppendChild(HtmlNode.CreateNode("<div class=\"msg-avatar\">" +
|
||||||
$"<img class=\"msg-avatar\" src=\"{messageGroup.Author.AvatarUrl}\" />" +
|
$"<img class=\"msg-avatar\" src=\"{messageGroup.Author.AvatarUrl}\" />" +
|
||||||
"</div>" +
|
"</div>"));
|
||||||
"</img>"));
|
|
||||||
|
|
||||||
// Body
|
// Body
|
||||||
var messageBodyHtml = messageHtml.AppendChild(HtmlNode.CreateNode("<div class=\"msg-body\"></div>"));
|
var messageBodyHtml = messageHtml.AppendChild(HtmlNode.CreateNode("<div class=\"msg-body\"></div>"));
|
||||||
|
|||||||
@@ -57,12 +57,11 @@
|
|||||||
div.msg-avatar {
|
div.msg-avatar {
|
||||||
width: 40px;
|
width: 40px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
|
|
||||||
flex: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
img.msg-avatar {
|
img.msg-avatar {
|
||||||
height: 100%;
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user