diff options
author | Karl <kc0bfv@gmail.com> | 2022-10-22 23:42:45 +0300 |
---|---|---|
committer | Karl <kc0bfv@gmail.com> | 2022-10-22 23:42:45 +0300 |
commit | 53ec5df42fb741afc1bbcade3070bc7a13c0e36c (patch) | |
tree | 858209a12671db10da3629f528367fca7b2d17a5 | |
parent | 7e55359798a5e2f6010d0ec8f71e2ef534c67c35 (diff) |
Improve mobile horizontal view - close #51
I found a feature in the lightbox that makes horizontal mode viewing much more bearable. I recommended a documentation fix to the lightbox to document that mode for others...
-rw-r--r-- | assets/js/main.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/assets/js/main.js b/assets/js/main.js index 123996a..9ea4436 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -206,6 +206,7 @@ ); gallery_items.magnificPopup({ type: "image", + mainClass: "mfp-img-mobile", image: { titleSrc: function(item) { let caption = ''; |