@if (!string.IsNullOrWhiteSpace(embed.Author.IconUrl))
{
)
@@ -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))
{
)
@@ -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 9e9d4748..6ca57b56 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;