github-ribbons-css icon indicating copy to clipboard operation
github-ribbons-css copied to clipboard

right-ribbon scrolls horizonal

Open rolandort opened this issue 10 years ago • 0 comments

I would suggest to remove the overflow-x which will effect the page behavior! body { overflow-x: hidden; } and simply replace .ribbon { position: absolute; ... by .ribbon { position: fixed; ...

This will make sure the page can be scrolled horizontally on wide sites as its should be when the ribbon is placed top-right. With position:fixed the page can be scrolled in the back without moving the ribbon from its position.

rolandort avatar May 20 '15 16:05 rolandort