From c7e246540b66d5d2cc3dc2d2094bbb5694c84523 Mon Sep 17 00:00:00 2001 From: Alexey Golub Date: Fri, 4 Aug 2017 23:27:04 +0300 Subject: [PATCH] Make it a bit better --- DiscordChatExporter/Services/ExportService.cs | 3 +-- DiscordChatExporter/Services/ExportTemplate.html | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/DiscordChatExporter/Services/ExportService.cs b/DiscordChatExporter/Services/ExportService.cs index e809521..e4dc57f 100644 --- a/DiscordChatExporter/Services/ExportService.cs +++ b/DiscordChatExporter/Services/ExportService.cs @@ -121,8 +121,7 @@ namespace DiscordChatExporter.Services // Avatar messageHtml.AppendChild(HtmlNode.CreateNode("
" + $"" + - "
" + - "")); + "")); // Body var messageBodyHtml = messageHtml.AppendChild(HtmlNode.CreateNode("
")); diff --git a/DiscordChatExporter/Services/ExportTemplate.html b/DiscordChatExporter/Services/ExportTemplate.html index 9c6d275..f0173f0 100644 --- a/DiscordChatExporter/Services/ExportTemplate.html +++ b/DiscordChatExporter/Services/ExportTemplate.html @@ -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%; }