Skip to content

Commit

Permalink
reset auto image-orientation for Firefox and Safari // refs #67
Browse files Browse the repository at this point in the history
due to a possible bug in the fancybox library
  • Loading branch information
tofi86 committed Sep 25, 2019
1 parent 5c4be8f commit 58e8253
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions assets/stylesheets/lightbox.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@ a.lightbox_preview img {
box-shadow: 0 0 50px #222;
}

/* reset auto image-orientation for Firefox and Safari
* due to a possible bug in the fancybox library
* https://github.com/paginagmbh/redmine_lightbox2/issues/67
*/
div.attachments div.images img,
img.fancybox-image {
image-orientation: initial;
}


/* move prev/next buttons outside
* fixes issue #5
Expand Down

0 comments on commit 58e8253

Please sign in to comment.