Img fancybox is difficult to scroll
Posted: 21 Oct 2016, 12:42
When click at the image in attachment (have many thing in attachment).
if the image have a big size, it will show scroll bar but the arrow of the next item blocked it.
So it can't scroll, in addition the area of the arrow is too much, scrolling with the middle mouse button is difficult.
I fixed by add this in css
if the image have a big size, it will show scroll bar but the arrow of the next item blocked it.
So it can't scroll, in addition the area of the arrow is too much, scrolling with the middle mouse button is difficult.
I fixed by add this in css
Code: Select all
.fancybox-nav {
width: 10% !important; /* reduce arrow area */
margin-right: 20px !important; /* fix the arrow blocked the right scroll bar */
}