Fixed sidebar uses more than 100% width

Arty

Well-known member
When width is below maxResponsiveWideWidth, gallery sidebar's width is changed to 100% in xengallery_wrapper.css
Code:
    .Responsive .xengallerySideBar
     {
       width: 100%;
     }
however it still has 10px right padding from rule for desktop, which causes sidebar to take 100% + 10px width. On default style it doesn't cause any problems because wrapper also has 10px padding, so sidebar going out of its boundaries is not noticed.

In custom styles where page wrapper doesn't have extra padding on mobile devices sidebar causes horizontal scrollbar. That code in xengallery_wrapper.css should be changed to
Code:
    .Responsive .xengallerySideBar
     {
       width: 100%;
       padding-right: 0;
     }
 
Top Bottom