apply max-width to svg; remove unnecessary specificity for object inside image block...
authorDan Allen <dan@opendevise.com>
Sun, 19 Sep 2021 06:31:20 +0000 (00:31 -0600)
committerDan Allen <dan@opendevise.com>
Sun, 19 Sep 2021 06:31:20 +0000 (00:31 -0600)
src/css/doc.css

index 35ce366..8bcb0c0 100644 (file)
@@ -394,8 +394,11 @@ h1.page + aside.toc.embedded {
 }
 
 .doc .imageblock img,
-.doc .imageblock object[type="image/svg+xml"],
-.doc .image > img {
+.doc .imageblock object,
+.doc .imageblock svg,
+.doc .image > img,
+.doc .image > object,
+.doc .image > svg {
   display: inline-block;
   height: auto;
   max-width: 100%;