shortdesc formatting in WebHelp tooltips - broken?

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
davenz
Posts: 8
Joined: Mon Mar 11, 2019 11:53 am

shortdesc formatting in WebHelp tooltips - broken?

Post by davenz » Sun Dec 08, 2019 10:06 pm

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 288 times
The formatting of the same key in a topic shortdesc element is fine:
shortdesc-2.png
shortdesc-2.png (7.9 KiB) Viewed 288 times
This is using the DITA Map WebHelp Responsive theme. Is this a bug or known behaviour?

Thanks,
Dave
Attachments
shortdesc-1.png
shortdesc-1.png (13.41 KiB) Viewed 288 times

davenz
Posts: 8
Joined: Mon Mar 11, 2019 11:53 am

Re: shortdesc formatting in WebHelp tooltips - broken?

Post by davenz » Mon Dec 09, 2019 11:00 pm

Also, this is using Oxygen XML Editor 21.1. I've tested this on the latest release of Firefox and Chrome.

alin
Site Admin
Posts: 162
Joined: Thu Dec 24, 2009 11:21 am

Re: shortdesc formatting in WebHelp tooltips - broken?

Post by alin » Tue Dec 10, 2019 7:46 pm

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
Alin Balasa
Software Developer
<oXygen/> XML Editor
http://www.oxygenxml.com

davenz
Posts: 8
Joined: Mon Mar 11, 2019 11:53 am

Re: shortdesc formatting in WebHelp tooltips - broken?

Post by davenz » Wed Dec 11, 2019 10:16 pm

That worked great, thanks.

Dave

Post Reply