Open calvinit opened 2 months ago
如下图所示,代码块的四个边角都有(看着碍眼 😭):
经 F12,发现是 assets/dist/style.css 中 .tailwind-typography :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)) 的样式 background-color:var(--tw-prose-pre-bg); 造成的:
assets/dist/style.css
.tailwind-typography :where(pre):not(:where([class~=not-prose],[class~=not-prose] *))
background-color:var(--tw-prose-pre-bg);
去掉之后就正常显示了:
如下图所示,代码块的四个边角都有(看着碍眼 😭):![1](https://github.com/halo-dev/theme-earth/assets/27403411/be532421-6507-4853-946a-00004f5e6635)
经 F12,发现是![2](https://github.com/halo-dev/theme-earth/assets/27403411/01843474-7782-4443-add0-6df8bc135333)
assets/dist/style.css
中.tailwind-typography :where(pre):not(:where([class~=not-prose],[class~=not-prose] *))
的样式background-color:var(--tw-prose-pre-bg);
造成的:去掉之后就正常显示了:![3](https://github.com/halo-dev/theme-earth/assets/27403411/7d050643-7a0c-4298-8364-cf7b857c269f)