Code Monkey home page Code Monkey logo

Comments (5)

degbug avatar degbug commented on September 2, 2024

I change the img css to set z-index to 999 to fix it。
I am not good at web, maybe can more elegant

from docsify-themeable.

pdrastil avatar pdrastil commented on September 2, 2024

+1 for this issue. Base on the investigation I could do the css class .medium-zoom-image--opened doesn't contain value for z-index from _variales.scss which should be 50.

from docsify-themeable.

jhildenbiddle avatar jhildenbiddle commented on September 2, 2024

A change made in docsify 4.10 is the cause of the issue. This is confirmed by loading an earlier version of the plugin:

<script src="https://unpkg.com/[email protected]/lib/plugins/zoom-image.min.js"></script>

Easy enough to fix.

from docsify-themeable.

ChrysSills99 avatar ChrysSills99 commented on September 2, 2024

Are you using simple.css theme?

There is a bug in the file: :root{--zoomimage-overlay-background: rgba(0, 0, 0, 0.875)}

I had to override this in your index.html and set zoomimage-overlay-background: none and mine is working like a charm

from docsify-themeable.

jhildenbiddle avatar jhildenbiddle commented on September 2, 2024

The issue was caused by a class name change in 4.10.

In docsify < 4.10, the class name applied to the zoomed image was "medium-zoom-image--open". In 4.10, this changed to "medium-zoom-image--opened" (noted the "ed" added to "open").

This issue has been fixed and will be available in the upcoming release.

from docsify-themeable.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.