jinghu-moon / typora-see-yue-theme

See Yue 系列主题是一个自定义样式极多、简约、充满细节的 Typora 主题。(The See Yue series theme is a Typora theme with a plethora of custom styles, minimalism, and full of details.)

Home Page:https://theme.typora.io/theme/see-yue/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

列表中使用代码块,导致代码块仿 Mac 窗口样式失效

HyHydromechanics opened this issue · comments

在使用的时候只有第一个代码块会有类似mac窗口的装饰
截屏2022-08-07 17 28 31
截屏2022-08-07 17 28 40

是在列表中使用代码块吗?是的话,请往下看。

解决方法

code-language.css 文件修改如下:

pre.md-fences:before {
  content      : " ";
  /* height、width、background 加 !important */
  height       : var(--code-block-topBar-all-dot-size) !important;
  width        : var(--code-block-topBar-all-dot-size) !important;
  background   : var(--code-block-topBar-redDot-color) !important;
}

v1.3.3 已发布,请及时更新。新版本已修复此 Bug。