summaryrefslogtreecommitdiff
path: root/help3xsl
diff options
context:
space:
mode:
Diffstat (limited to 'help3xsl')
-rw-r--r--help3xsl/default.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/help3xsl/default.css b/help3xsl/default.css
index 2a1fb17cb8..969ba50a73 100644
--- a/help3xsl/default.css
+++ b/help3xsl/default.css
@@ -126,6 +126,10 @@ pre,
font-family: var(--font_mono);
word-wrap: anywhere;
}
+/* prevent SVGs without width from overflowing the container */
+img[src$=".svg"] {
+ max-width: 100%;
+}
.literal {
white-space: normal;
}