diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2024-03-06 15:42:08 -0700 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2024-03-06 15:42:08 -0700 |
| commit | 5d79b13dab365fca27fe4cb53420117b1674a914 (patch) | |
| tree | 31e85d3cc548fb87d87ccb5b9ec6bdb98962f8dd | |
| parent | e9aabe28f94842f6b0ee46447b7163d0a7235475 (diff) | |
add workaround to set width of container for admonition icon
| -rw-r--r-- | docs/modules/theme/pages/admonition.adoc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/modules/theme/pages/admonition.adoc b/docs/modules/theme/pages/admonition.adoc index e7f40933..c38813e3 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. |
