Thank you for your submission, an automated scan of your plugin code's revealed the following issues:

### Required

[[1](https://github.com/gitcpy/mermaid-zoom-drag/blob/ae8404a6ad91591570b099183bdbec2ee986c2a3/src/main.ts#L75)][[2](https://github.com/gitcpy/mermaid-zoom-drag/blob/ae8404a6ad91591570b099183bdbec2ee986c2a3/src/main.ts#L76)][[3](https://github.com/gitcpy/mermaid-zoom-drag/blob/ae8404a6ad91591570b099183bdbec2ee986c2a3/src/main.ts#L77)][[4](https://github.com/gitcpy/mermaid-zoom-drag/blob/ae8404a6ad91591570b099183bdbec2ee986c2a3/src/main.ts#L78)][[5](https://github.com/gitcpy/mermaid-zoom-drag/blob/ae8404a6ad91591570b099183bdbec2ee986c2a3/src/main.ts#L82)][[6](https://github.com/gitcpy/mermaid-zoom-drag/blob/ae8404a6ad91591570b099183bdbec2ee986c2a3/src/main.ts#L83)][[7](https://github.com/gitcpy/mermaid-zoom-drag/blob/ae8404a6ad91591570b099183bdbec2ee986c2a3/src/main.ts#L84)][[8](https://github.com/gitcpy/mermaid-zoom-drag/blob/ae8404a6ad91591570b099183bdbec2ee986c2a3/src/main.ts#L85)][[9](https://github.com/gitcpy/mermaid-zoom-drag/blob/ae8404a6ad91591570b099183bdbec2ee986c2a3/src/main.ts#L86)][[10](https://github.com/gitcpy/mermaid-zoom-drag/blob/ae8404a6ad91591570b099183bdbec2ee986c2a3/src/main.ts#L103)][[11](https://github.com/gitcpy/mermaid-zoom-drag/blob/ae8404a6ad91591570b099183bdbec2ee986c2a3/src/main.ts#L107)][[12](https://github.com/gitcpy/mermaid-zoom-drag/blob/ae8404a6ad91591570b099183bdbec2ee986c2a3/src/main.ts#L111)][[13](https://github.com/gitcpy/mermaid-zoom-drag/blob/ae8404a6ad91591570b099183bdbec2ee986c2a3/src/main.ts#L112)][[14](https://github.com/gitcpy/mermaid-zoom-drag/blob/ae8404a6ad91591570b099183bdbec2ee986c2a3/src/main.ts#L145)][[15](https://github.com/gitcpy/mermaid-zoom-drag/blob/ae8404a6ad91591570b099183bdbec2ee986c2a3/src/main.ts#L147)][[16](https://github.com/gitcpy/mermaid-zoom-drag/blob/ae8404a6ad91591570b099183bdbec2ee986c2a3/src/main.ts#L148)][[17](https://github.com/gitcpy/mermaid-zoom-drag/blob/ae8404a6ad91591570b099183bdbec2ee986c2a3/src/main.ts#L149)][[18](https://github.com/gitcpy/mermaid-zoom-drag/blob/ae8404a6ad91591570b099183bdbec2ee986c2a3/src/main.ts#L150)][[19](https://github.com/gitcpy/mermaid-zoom-drag/blob/ae8404a6ad91591570b099183bdbec2ee986c2a3/src/main.ts#L160)][[20](https://github.com/gitcpy/mermaid-zoom-drag/blob/ae8404a6ad91591570b099183bdbec2ee986c2a3/src/main.ts#L161)][[21](https://github.com/gitcpy/mermaid-zoom-drag/blob/ae8404a6ad91591570b099183bdbec2ee986c2a3/src/main.ts#L162)][[22](https://github.com/gitcpy/mermaid-zoom-drag/blob/ae8404a6ad91591570b099183bdbec2ee986c2a3/src/main.ts#L172)][[23](https://github.com/gitcpy/mermaid-zoom-drag/blob/ae8404a6ad91591570b099183bdbec2ee986c2a3/src/main.ts#L173)][[24](https://github.com/gitcpy/mermaid-zoom-drag/blob/ae8404a6ad91591570b099183bdbec2ee986c2a3/src/main.ts#L179)][[25](https://github.com/gitcpy/mermaid-zoom-drag/blob/ae8404a6ad91591570b099183bdbec2ee986c2a3/src/main.ts#L186)]:You should avoid assigning styles via JavaScript or in HTML and instead move all these styles into CSS so that they are more easily adaptable by themes and snippets.




---



Do <b>NOT</b> open a new PR for re-validation.
Once you have pushed all of the required changes to your repo, the bot will update the labels on this PR within 6 hours.
If you think some of the required changes are incorrect, please comment with `/skip` and the reason why you think the results are incorrect.