From d02971c5068cde89172a5c9cfaf3e4295cdce656 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Sun, 19 Sep 2021 00:31:20 -0600 Subject: [PATCH] apply max-width to svg; remove unnecessary specificity for object inside image block or phrase --- src/css/doc.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/css/doc.css b/src/css/doc.css index 35ce366..8bcb0c0 100644 --- a/src/css/doc.css +++ b/src/css/doc.css @@ -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%; -- 2.11.0