Specify max-width

pault
Posts: 61

Specify max-width

Fri Feb 02, 2018 2:53 am

I have tried several variations of the following to set a max-width for images, but nothing seems to work:

*[class~='topic/image'] {
max-width: 500px;
}

The CSS Inspector shows:

*[class~='topic/image'] {
content : attr(href , url) ;
}

The DITA source is:

<image href="../images/screenshots/useQuerySystemTableUserDefined1.png" id="image_q2b_5z1_ms"/>

What's the solution?

Thanks,

Paul
Costin
Posts: 281

Re: Specify max-width

Fri Feb 02, 2018 12:17 pm

Hi pault,

It seems you stumbled upon a known issue. We already have this logged in our internal tracking system and I am happy to announce you that it was fixed in our development stream.
The fix will be included in the next version that will be released.

Best Regars,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
pault
Posts: 61

Re: Specify max-width

Sat Feb 03, 2018 12:20 am

Thanks Costin!
pault
Posts: 61

Re: Specify max-width

Wed Feb 14, 2018 3:04 am

Hi Costin,

I installed the latest build (2018013010) of oXygen Editor for the Mac and noticed that max-width was working in some instances.

Works for:

<p><image href="../images/cyclist-conceptual.svg" /></p>

Doesn't work for:

<step>
<cmd>Query the defined keyspaces using the SELECT statement.</cmd>
. . .
<stepresult>
<image href="../images/screenshots/useQuerySystemTable1.png"/>
</stepresult>
</step>

Also I was wondering if your going to update the All Platforms Distribution anytime soon.

Thanks,

Paul
radu_pisoi
Posts: 314
Location: Craiova

Re: Specify max-width

Wed Feb 14, 2018 3:24 pm

Hi,

I don't think the 2018013010 build contains a fix for the 'max-width' issue.

If you want to test a Chemistry development kit that contains a fix for it, please update your Chemistry installation to the latest build. Install it in a folder, then add this folder to the PATH system environment variable, so oXygen will use it.

We are now automatically publishing a daily build here:

Code: Select all

http://mirror.oxygenxml.com/maven-nightly/com/oxygenxml/oxygen-pdf-chemistry/20.0-SNAPSHOT/oxygen-pdf-chemistry-20.0-SNAPSHOT-package.zip


You should see in the DITA transformation console:

Code: Select all

     [exec] INFO com.oxygenxml.chemistry.OxygenPDFChemistry - oXygen PDF Chemistry version 20.0 build 2018-02-....

The build ID may differ (tomorrow will be another one), but is good to know when you request support.
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Return to “Common Problems”

Who is online

Users browsing this forum: No registered users and 0 guests