Skip to content

fix: refine katex overflow style#544

Merged
xaoxuu merged 1 commit intoxaoxuu:mainfrom
calfzhou:feature/refine-katex-css
Nov 19, 2024
Merged

fix: refine katex overflow style#544
xaoxuu merged 1 commit intoxaoxuu:mainfrom
calfzhou:feature/refine-katex-css

Conversation

@calfzhou
Copy link
Contributor

之前 katex 的 overflow 样式是设置在 .md-text p.katex-block .katex-display 上的,在有些时候会出现当鼠标在公式那里上下滚动的时候,公式会上下微小浮动,如图:

katex-overflow

overflow 改在 .md-text p.katex-block 上没有这个问题。

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@xaoxuu xaoxuu merged commit d666385 into xaoxuu:main Nov 19, 2024
@xaoxuu
Copy link
Owner

xaoxuu commented Nov 19, 2024

感谢大佬PR

@calfzhou calfzhou deleted the feature/refine-katex-css branch December 2, 2024 14:19
lliei0x pushed a commit to lliei0x-x/hexo-theme-stellar that referenced this pull request Aug 14, 2025
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.

2 participants