Thread Locked This thread is locked - replies are not allowed.


This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 2 - Pages: 1 - Last Post: 1 Mar 21, 15:25 Last Post By: uhartmann
uhartmann

Posts: 12
Registered: 1-Feb-2011
Neptune: Broken shadow on mobile devices
Posted: 1 Mar 21, 14:40
 
Recently a problem occured with slide shadows on mobile devices. The shadow looks too wide on the bottom, and cut off on the right side. A screenshot can be found on
OneDrive
I tried different browsers, same problem. It looks fine on desktops.
The settings are:
Padding width: 20 px
Shadow opacity: 30 px
One solution would be a setting to optionally remove padding/shadow on mobile devices completely, which would be my preference anyway.
Thanks for your help.
JeffTucker

Posts: 8,491
Registered: 31-Jan-2006
Re: Neptune: Broken shadow on mobile devices
Posted: 1 Mar 21, 15:02   in response to: uhartmann in response to: uhartmann
 
Attachment common.css (33.1 KB)
Yes, I sort of knew about that, but figured that only a very sharped-eyed visitor would notice it. And with the darker color schemes, it's almost invisible. To make maximum use of the screen real estate, the image padding is reduced to a maximum of 2px on a phone. But that padding is where the shadow is shown, so it "spills off" the right edge.

Your suggested fix is the correct one. The shadow is of little use on a tiny display.

Open the skin directory - Tools, Open directory, Skin directory - and replace the common.css file with the attached version, then make the album again. You might have to do some aggressive cache-clearing on your mobile device to see the change.
uhartmann

Posts: 12
Registered: 1-Feb-2011
Re: Neptune: Broken shadow on mobile devices
Posted: 1 Mar 21, 15:25   in response to: uhartmann in response to: uhartmann
 
Thanks a lot for the quick reply. This was very helpful and it works as expected.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums