Skip to content

Commit

Permalink
Prevent HTML overflow, fix issue #10647
Browse files Browse the repository at this point in the history
  • Loading branch information
fwiep authored and droidmonkey committed May 27, 2024
1 parent a5c7f7b commit c93eacd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/gui/HtmlExporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;} "
Expand All @@ -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>"
Expand Down

0 comments on commit c93eacd

Please sign in to comment.