Add a CSS rule to the default UI stylesheet for floating images
Images do not float properly in Antora 2.0, because the default UI stylesheet does not contain a matching rule for the role. Floating an image (see example below) worked in Antora 1.1. But in 2.0, an undesired alignment of the image and text is produced.
image:steve.png[float="right",align="left"] Greetings, spinning blue world.
Dan commented, "we got rid of inline styles in the built-in HTML converter in Asciidoctor (well, at least most of them). So now we need a matching rule in the stylesheet for the role. This is a side effect of the upgrade to Asciidoctor.js 1.5.9. We never had a CSS rule in the default UI stylesheet, but the inline style from Asciidoctor 1.5.6 was hard coded."
Thanks!