Changes to CSS styling of figcaption elements (WebHelp)
Posted: Wed Mar 11, 2020 2:22 pm
Hello,
I've noticed changes regarding the CSS styling of figcaption elements. When running a build locally with Oxygen 21.1, everything is fine. As defined in commonltr.css, figcap class' font-style is italic. When running a build on the server, there's a CSS property from elements.css overriding the property defined in commonltr.css. As it's annotated with "The CJK fonts do not support italic" even though I'm not using CJK fonts, I assume it's a kind of bug that this CSS property is used for non-CJK content.
Apart from that, the colon after the figtitleprefix ("Figure" etc.) is missing in case of the server builds.
This behavior applies to the Oxygen Webhelp resources, too (see attachment).
I've already set a new CSS property to make the font-style italic again but I'm wondering if it's an intentional change and I'd like to restore the colon, as well. When using ::after, there's always a superfluous blank space between "Figure" and the colon.
Best regards,
Anton
I've noticed changes regarding the CSS styling of figcaption elements. When running a build locally with Oxygen 21.1, everything is fine. As defined in commonltr.css, figcap class' font-style is italic. When running a build on the server, there's a CSS property from elements.css overriding the property defined in commonltr.css. As it's annotated with "The CJK fonts do not support italic" even though I'm not using CJK fonts, I assume it's a kind of bug that this CSS property is used for non-CJK content.
Apart from that, the colon after the figtitleprefix ("Figure" etc.) is missing in case of the server builds.
This behavior applies to the Oxygen Webhelp resources, too (see attachment).
I've already set a new CSS property to make the font-style italic again but I'm wondering if it's an intentional change and I'd like to restore the colon, as well. When using ::after, there's always a superfluous blank space between "Figure" and the colon.
Best regards,
Anton