Make it a bit better

pull/4/head
Alexey Golub 7 years ago
parent 61d3038050
commit c7e246540b

@ -121,8 +121,7 @@ namespace DiscordChatExporter.Services
// Avatar
messageHtml.AppendChild(HtmlNode.CreateNode("<div class=\"msg-avatar\">" +
$"<img class=\"msg-avatar\" src=\"{messageGroup.Author.AvatarUrl}\" />" +
"</div>" +
"</img>"));
"</div>"));
// Body
var messageBodyHtml = messageHtml.AppendChild(HtmlNode.CreateNode("<div class=\"msg-body\"></div>"));

@ -57,12 +57,11 @@
div.msg-avatar {
width: 40px;
height: 40px;
flex: 0;
}
img.msg-avatar {
height: 100%;
width: 40px;
height: 40px;
border-radius: 50%;
}

Loading…
Cancel
Save