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

Fix Cytoscape graph alignment issue #3756

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Dustin4444
Copy link

@Dustin4444 Dustin4444 commented Feb 26, 2025

Fixes #3755

Add position: relative to .image-zone class to fix canvas alignment issue in embedded Cytoscape.js graph.

  • Modify css/reveal.scss to include position: relative for .image-zone class.
  • Update plugin/math/math.js and plugin/math/math.esm.js to include code in the skipTags array for tex2jax configuration.

For more details, open the Copilot Workspace session.

Fixes hakimel#3755

Add `position: relative` to `.image-zone` class to fix canvas alignment issue in embedded Cytoscape.js graph.

* Modify `css/reveal.scss` to include `position: relative` for `.image-zone` class.
* Update `plugin/math/math.js` and `plugin/math/math.esm.js` to include `code` in the `skipTags` array for `tex2jax` configuration.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/hakimel/reveal.js/issues/3755?shareId=XXXX-XXXX-XXXX-XXXX).
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

Successfully merging this pull request may close these issues.

Issue for embedded cytoscape graphs
1 participant