Page 1 of 1

shortdesc formatting in WebHelp tooltips - broken?

Posted: Sun Dec 08, 2019 10:06 pm
by davenz
Hi all,

I've defined a key with a keyword:

Code: Select all

<keydef keys="ProductName-MyProduct">
        <topicmeta>
            <keywords>
                <keyword>My Product</keyword>
            </keywords>
        </topicmeta>
    </keydef>
The formatting of the key in WebHelp tooltips looks broken:
shortdesc-1.png
shortdesc-1.png (13.41 KiB) Viewed 1352 times
The formatting of the same key in a topic shortdesc element is fine:
shortdesc-2.png
shortdesc-2.png (7.9 KiB) Viewed 1352 times
This is using the DITA Map WebHelp Responsive theme. Is this a bug or known behaviour?

Thanks,
Dave

Re: shortdesc formatting in WebHelp tooltips - broken?

Posted: Mon Dec 09, 2019 11:00 pm
by davenz
Also, this is using Oxygen XML Editor 21.1. I've tested this on the latest release of Firefox and Chrome.

Re: shortdesc formatting in WebHelp tooltips - broken?

Posted: Tue Dec 10, 2019 7:46 pm
by alin
Hello,

The issue can be fixed by including the following CSS snippet into your generated output:

Code: Select all

.wh-tooltip-container .wh-tooltip, .wh_breadcrumb .topicref .wh-tooltip, .wh_publication_toc .topicref .wh-tooltip {
  display: block;
}

The procedure of using CSS to customize the output is described in our User Manual:
https://www.oxygenxml.com/doc/versions/ ... h-css.html

Also, there will be a fix available in the next Oxygen WebHelp release.

Regards,
Alin

Re: shortdesc formatting in WebHelp tooltips - broken?

Posted: Wed Dec 11, 2019 10:16 pm
by davenz
That worked great, thanks.

Dave