diff --git a/DiscordChatExporter.Core/Exporting/Writers/Html/MessageGroupTemplate.cshtml b/DiscordChatExporter.Core/Exporting/Writers/Html/MessageGroupTemplate.cshtml index ddd9647..6e4e98b 100644 --- a/DiscordChatExporter.Core/Exporting/Writers/Html/MessageGroupTemplate.cshtml +++ b/DiscordChatExporter.Core/Exporting/Writers/Html/MessageGroupTemplate.cshtml @@ -233,7 +233,7 @@ @{/* Embed author */} @if (embed.Author is not null) { -
+
@if (!string.IsNullOrWhiteSpace(embed.Author.IconUrl)) { Author icon @@ -241,16 +241,16 @@ @if (!string.IsNullOrWhiteSpace(embed.Author.Name)) { - - @if (!string.IsNullOrWhiteSpace(embed.Author.Url)) - { - @embed.Author.Name - } - else - { - @embed.Author.Name - } - + if (!string.IsNullOrWhiteSpace(embed.Author.Url)) + { + +
@embed.Author.Name
+
+ } + else + { +
@embed.Author.Name
+ } }
} @@ -301,7 +301,7 @@ @{/* Embed author */} @if (embed.Author is not null) { -
+
@if (!string.IsNullOrWhiteSpace(embed.Author.IconUrl)) { Author icon @@ -309,16 +309,16 @@ @if (!string.IsNullOrWhiteSpace(embed.Author.Name)) { - - @if (!string.IsNullOrWhiteSpace(embed.Author.Url)) - { - @embed.Author.Name - } - else - { - @embed.Author.Name - } - + if (!string.IsNullOrWhiteSpace(embed.Author.Url)) + { + +
@embed.Author.Name
+
+ } + else + { +
@embed.Author.Name
+ } }
} diff --git a/DiscordChatExporter.Core/Exporting/Writers/Html/PreambleTemplate.cshtml b/DiscordChatExporter.Core/Exporting/Writers/Html/PreambleTemplate.cshtml index 9e9d474..6ca57b5 100644 --- a/DiscordChatExporter.Core/Exporting/Writers/Html/PreambleTemplate.cshtml +++ b/DiscordChatExporter.Core/Exporting/Writers/Html/PreambleTemplate.cshtml @@ -415,7 +415,7 @@ flex: 1; } - .chatlog__embed-author { + .chatlog__embed-author-container { display: flex; margin-bottom: 0.3rem; align-items: center; @@ -429,7 +429,7 @@ } .chatlog__embed-author { - color: @Themed("#ffffff", "#4f545c") + color: @Themed("#ffffff", "#4f545c"); font-size: 0.875rem; font-weight: 600; direction: ltr;