hugo-theme-stack
hugo-theme-stack copied to clipboard
Use ResizeObserver to detect changes in the size of .article-content
This code is for handling changes in position caused by content rendered as part of post-processing, such as Mermaid diagrams
This is a workaround solution to the problem at https://github.com/CaiJimmy/hugo-theme-stack/issues/1101.
Sorry for the delay, it's merged now
Thank you for the update! 👍