From 4a2f21631a4b8b4772d2bae7d187614eb47c56d9 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Tue, 19 Jun 2018 11:48:14 +0200 Subject: [PATCH] Using Fancybox 3 instead This fixes the jumping around on the page after opening a large moddal of an image --- Gemfile | 2 +- Gemfile.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 8fa3a8b..22769fc 100644 --- a/Gemfile +++ b/Gemfile @@ -86,7 +86,7 @@ gem 'will_paginate' #gem 'will_paginate-foundation' # Lightbox image viewer for full-sized images -gem 'fancybox2-rails' +gem 'fancybox-rails' # Trying pg_search for full-text search… too slow with ranking… screw PostgreSQL gem 'pg_search' diff --git a/Gemfile.lock b/Gemfile.lock index a8bd332..a5d93f9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -85,7 +85,7 @@ GEM erubi (1.7.1) erubis (2.7.0) execjs (2.7.0) - fancybox2-rails (0.2.7) + fancybox-rails (0.3.1) railties (>= 3.1.0) faraday (0.12.2) multipart-post (>= 1.2, < 3) @@ -331,7 +331,7 @@ DEPENDENCIES coffee-rails (~> 4.2) cookies_eu devise - fancybox2-rails + fancybox-rails font-awesome-rails foundation-rails (~> 6.3) guard-minitest