Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kc0bfv/autophugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl <kc0bfv@gmail.com>2022-10-22 23:42:45 +0300
committerKarl <kc0bfv@gmail.com>2022-10-22 23:42:45 +0300
commit53ec5df42fb741afc1bbcade3070bc7a13c0e36c (patch)
tree858209a12671db10da3629f528367fca7b2d17a5
parent7e55359798a5e2f6010d0ec8f71e2ef534c67c35 (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.js1
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 = '';