From f30fc6204a6bc7643d7952b1df98a3aa7b462dea Mon Sep 17 00:00:00 2001 From: azett Date: Fri, 1 Jul 2022 18:47:05 +0200 Subject: [PATCH] fixes #129: captions not centered --- fp-plugins/photoswipe/res/photoswipe-4.1.1/photoswipe.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/fp-plugins/photoswipe/res/photoswipe-4.1.1/photoswipe.css b/fp-plugins/photoswipe/res/photoswipe-4.1.1/photoswipe.css index d2df090..af2a638 100644 --- a/fp-plugins/photoswipe/res/photoswipe-4.1.1/photoswipe.css +++ b/fp-plugins/photoswipe/res/photoswipe-4.1.1/photoswipe.css @@ -233,4 +233,10 @@ div.img-gallery div.photoswipe } -.pswp__img { margin: 0px !important; } \ No newline at end of file +.pswp__img { margin: 0px !important; } + +.pswp__caption__center { + text-align: center; + margin: 0 auto; + max-width:90%; +} \ No newline at end of file