From 09d08052bcb810071fd9387b9c88ff84641597a4 Mon Sep 17 00:00:00 2001 From: Frans-Willem Post Date: Sat, 11 May 2024 22:38:06 +0200 Subject: [PATCH] Prevent HTML overflow, fix issue #10647 --- src/gui/HtmlExporter.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/gui/HtmlExporter.cpp b/src/gui/HtmlExporter.cpp index 6549094630..0c45259ac6 100644 --- a/src/gui/HtmlExporter.cpp +++ b/src/gui/HtmlExporter.cpp @@ -149,8 +149,6 @@ bool HtmlExporter::exportDatabase(QIODevice* device, "{ font-family: \"Open Sans\", Helvetica, Arial, sans-serif; }" "h3 " "{ margin-left: 2em; }" - "table " - "{ margin-left: 1em; } " "caption " "{ text-align: left; font-weight: bold; font-size: 150%; border-bottom: .15em solid " "#4ca; margin-bottom: .5em;} " @@ -159,7 +157,7 @@ bool HtmlExporter::exportDatabase(QIODevice* device, "th " "{ min-width: 7em; width: 15%; } " ".username, .password, .url, .attr " - "{ font-size: larger; font-family: monospace; } " + "{ font-size: larger; font-family: monospace; overflow-wrap: anywhere;} " ".notes " "{ font-size: small; } " ""