Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting the plugin to work with ThemedImage #8

Open
suntudo opened this issue Jun 2, 2022 · 0 comments
Open

Getting the plugin to work with ThemedImage #8

suntudo opened this issue Jun 2, 2022 · 0 comments

Comments

@suntudo
Copy link

suntudo commented Jun 2, 2022

Hi there, great plugin, thanks so much for making it!

I'm trying to get it to work with the docusaurus ThemedImage component, which I'm using for light/dark mode images as outlined here.

I tried swizzling the component and adding the medium-zoom-image class, but that doesn't seem to work. It now shows the cursor change on hover, but doesn't zoom. Is there another way it might be possible to get this to work?

Could this be done by changing the selector option in docusaurus config?

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant