Make it a bit better

This commit is contained in:
Alexey Golub 2017-08-04 23:27:04 +03:00
parent 61d3038050
commit c7e246540b
2 changed files with 3 additions and 5 deletions

View file

@ -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>"));

View file

@ -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%;
}