Avatar

Release of version 2.4.2 thumbnail images opening left (General)

by Magma, Monday, March 13, 2017, 12:38 (2594 days ago)

Hi, I just updated from 2.3.7 to 2.4.2 and I love the bookmark feature, fantastic addition. The only problem for me so far is enlarging thumbnail images, in 2.3.7 when enlarged they went centre of the screen, in 2.4.2 the shadow box opens hard left, so the image is touching the left side of the screen. I have noticed this in latest Opera and IE.

Can you advise what code and file to modify to open images in the centre?

Avatar

Release of version 2.4.2 thumbnail images opening left

by Auge ⌂, Monday, March 13, 2017, 15:03 (2594 days ago) @ Magma

Hello

Hi, I just updated from 2.3.7 to 2.4.2 and I love the bookmark feature, fantastic addition. The only problem for me so far is enlarging thumbnail images, in 2.3.7 when enlarged they went centre of the screen, in 2.4.2 the shadow box opens hard left, so the image is touching the left side of the screen. I have noticed this in latest Opera and IE.

Can you advise what code and file to modify to open images in the centre?

change style.min.css, line #433 from …

#image-canvas img{margin:2em auto 0;border:1px solid #000;z-index:30;max-width:90%}

… to …

#image-canvas img{display:block;margin:2em auto 0;border:1px solid #000;z-index:30;max-width:90%}

I don't know, how the display:block; got lost on the way from version 2.3.7 to 2.4.

Tschö, Auge

--
Trenne niemals Müll, denn er hat nur eine Silbe!

Avatar

Release of version 2.4.2 thumbnail images opening left fixed

by Magma, Tuesday, March 14, 2017, 00:42 (2594 days ago) @ Auge

Thank you, I changed the code and it works as it did before the update.

RSS Feed of thread