Prevent HTML overflow, fix issue #10647

This commit is contained in:
Frans-Willem Post 2024-05-11 22:38:06 +02:00 committed by Jonathan White
parent a5c7f7bb50
commit c93eacd1d3

View File

@ -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; } "
"</style>"