Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复 Tag 中的代码块下方行间距异常 #812

Merged
merged 1 commit into from
Aug 29, 2022
Merged

修复 Tag 中的代码块下方行间距异常 #812

merged 1 commit into from
Aug 29, 2022

Conversation

Potat0000
Copy link
Contributor

Bug 描述

在 Tag 中的代码块,下方行间距异常。

复现步骤

{% note success %}

```
Something
```

{% endnote %}

截图

修复前

这是我的 Blog 的一个例子

image

修复后

image

@Potat0000 Potat0000 changed the base branch from master to develop July 28, 2022 02:59
@zkqiang
Copy link
Member

zkqiang commented Aug 29, 2022

.markdown-body
  .highlight pre, pre
    padding 1.45rem 1rem
+   margin-bottom 16px

  pre code.hljs
    padding 0

  pre[class*="language-"]
    padding-top 1.45rem
    padding-bottom 1.45rem
    padding-right 1rem
    line-height 1.5
+   margin-bottom 16px

这样修改更好

@Potat0000
Copy link
Contributor Author

这样修改更好

确实,这样更正确,已修改

@zkqiang zkqiang merged commit 3ff2797 into fluid-dev:develop Aug 29, 2022
@Potat0000 Potat0000 deleted the patch-1 branch August 29, 2022 05:59
zkqiang added a commit that referenced this pull request Sep 11, 2022
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