From 5d79b13dab365fca27fe4cb53420117b1674a914 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Wed, 6 Mar 2024 15:42:08 -0700 Subject: [PATCH] add workaround to set width of container for admonition icon --- docs/modules/theme/pages/admonition.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/modules/theme/pages/admonition.adoc b/docs/modules/theme/pages/admonition.adoc index e7f40933f..c38813e39 100644 --- a/docs/modules/theme/pages/admonition.adoc +++ b/docs/modules/theme/pages/admonition.adoc @@ -290,7 +290,8 @@ In other words, the `icon` category _cannot_ be declared multiple times and its A font-based icon is placed in a container with a width 1.5 times the size of the icon. This is done to give the icon more padding than the textual label. -This behavior will be configurable starting in Asciidoctor PDF 3. +This behavior can be overridden by assigning a value to the `label-min-width` key, which becomes the width of the container for the icon. +A more direct way of configuring the width of this container will be available in Asciidoctor PDF 3. The `image` key is only relevant when image-based icons are used (`icons=image`). It's an alternative to using the `icon` attribute on the admonition block.