- apply max-width, height, display, and vertical-align properties to object[type="image/svg+xml"] selector
- apply fallback width to object[type="image/svg+xml"] selector when width is not specified (only works in Chrome)
Ex nam suas nemore dignissim, vel apeirian democritum et.
.Antora is a multi-repo documentation site generator
-image::multirepo-ssg.svg[Multirepo SSG,300,225]
+image::multirepo-ssg.svg[Multirepo SSG,3000,opts=interactive]
Make the switch today!
word-wrap: normal; /* table widths aren't computed as expected when word-wrap is enabled */
}
+object[type="image/svg+xml"]:not([width]) {
+ width: fit-content;
+}
+
@supports (scrollbar-width: thin) {
body * {
scrollbar-width: thin;
}
.doc .imageblock img,
+.doc .imageblock object[type="image/svg+xml"],
.doc .image > img {
display: inline-block;
height: auto;