Embed object dimensions

Embed object dimensions

Derek Lawrie གིས-
Number of replies: 3

Hi everybody,

I'm hoping someone will know how the dimensions of an embedded object (in this case a pdf) are calculated.

I read this which was a similar problem, but now that I have the embedded object appearing I would like to change it's dimensions to more suit my theme. If I change to one of the other main themes it works correctly (ie fits the space) so I presume it's something in my css, but I don't know what.

Any clues would be most appreciated!

Oh and I'm using 2.3

Regards

Derek

དཔྱ་སྙོམས་ཀྱི་སྐུགས་ཚུ།: -
In reply to Derek Lawrie

Re: Embed object dimensions

David Scotson གིས-
Some of the CSS code I left in the comments of bug MDL-34687 might help.

I'm overruling the javascript with CSS since I don't use the specially named sections it uses to calculate the size.
In reply to Derek Lawrie

Re: Embed object dimensions

Richard Oelmann གིས-
Core developers གི་པར Plugin developers གི་པར Testers གི་པར

Can you tell us what theme its not working on and which is?

In reply to Richard Oelmann

Re: Embed object dimensions

Derek Lawrie གིས-

It's acustom theme that I have built from the ground up and I tried it in "Magazine" in which it worked.

Having said that I seem to have solved it now, it was a problem with my config and layouts.

Thanks

Derek