aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-07-26 09:15:24 -0600
committerJohn MacFarlane <[email protected]>2023-07-26 09:15:24 -0600
commitd7c43fda32b3cedc362196d0fc4d09aa4770841a (patch)
treea9796113189143c3b977e608526b6147103d6e29 /data
parent704a07d9639e65d9efd4b9d49b3685b0e4206601 (diff)
Add clause for svg to default CSS for HTML.
Suggested at #8969.
Diffstat (limited to 'data')
-rw-r--r--data/templates/styles.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/templates/styles.html b/data/templates/styles.html
index 49a7251fd..8dafb5ac3 100644
--- a/data/templates/styles.html
+++ b/data/templates/styles.html
@@ -62,6 +62,10 @@ a:visited {
img {
max-width: 100%;
}
+svg {
+ height; auto;
+ max-width: 100%;
+}
h1, h2, h3, h4, h5, h6 {
margin-top: 1.4em;
}