Magnific Popup css mobile

Hello,

I just share you this little mfp css correction for mobile specially on gallery view. So with this css only the image will scroll the other things arrows, close and title will be fixed also when zoom in and scrolling.

Place this code to the mobile css section
I updated this code

@media (max-width: 900px) {
  .mfp-container {
    position: fixed;
    overflow: auto;
  }
  .mfp-force-scrollbars {
    .mfp-figure {
      overflow: auto;
    }
  }
}
1 « J'aime »

Good catch

I made a small change in core based on that.

https://github.com/discourse/discourse/commit/6421fabb02f9dca00af6fb331b358af13722c8df

Thanks for reporting the issue and the fix @Don :+1:

3 « J'aime »