From d4f2049db6766eace2aadcd9002a040ab3c0eb44 Mon Sep 17 00:00:00 2001 From: Alexey Golub Date: Thu, 26 Oct 2017 23:36:10 +0300 Subject: [PATCH] Fix wrapping issues in html export --- DiscordChatExporter/Resources/ExportService/DarkTheme.css | 3 ++- DiscordChatExporter/Resources/ExportService/LightTheme.css | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/DiscordChatExporter/Resources/ExportService/DarkTheme.css b/DiscordChatExporter/Resources/ExportService/DarkTheme.css index 1fef534e..45fad546 100644 --- a/DiscordChatExporter/Resources/ExportService/DarkTheme.css +++ b/DiscordChatExporter/Resources/ExportService/DarkTheme.css @@ -18,7 +18,7 @@ div.pre { font-family: Consolas, Courier New, Courier, Monospace; margin-top: 4px; padding: 8px; - white-space: pre; + white-space: pre-wrap; } span.pre { @@ -106,6 +106,7 @@ span.msg-edited { div.msg-content { font-size: .9375rem; padding-top: 5px; + word-break: break-all; } div.msg-attachment { diff --git a/DiscordChatExporter/Resources/ExportService/LightTheme.css b/DiscordChatExporter/Resources/ExportService/LightTheme.css index be60c252..41bfe1b0 100644 --- a/DiscordChatExporter/Resources/ExportService/LightTheme.css +++ b/DiscordChatExporter/Resources/ExportService/LightTheme.css @@ -18,7 +18,7 @@ div.pre { font-family: Consolas, Courier New, Courier, Monospace; margin-top: 4px; padding: 8px; - white-space: pre; + white-space: pre-wrap; } span.pre { @@ -106,6 +106,7 @@ span.msg-edited { div.msg-content { font-size: .9375rem; padding-top: 5px; + word-break: break-all; } div.msg-attachment {