未验证 提交 84cb1135 编写于 作者: D Dirk Bäumer 提交者: GitHub

Merge pull request #99396 from microsoft/dbaeumer/98982

Fixes #98982: Horizontal rule in hover renders slightly off
......@@ -35,6 +35,7 @@
}
.monaco-hover p,
.monaco-hover .code,
.monaco-hover ul {
margin: 8px 0;
}
......@@ -45,18 +46,20 @@
.monaco-hover hr {
margin-top: 4px;
margin-bottom: -6px;
margin-bottom: -4px;
margin-left: -10px;
margin-right: -10px;
height: 1px;
}
.monaco-hover p:first-child,
.monaco-hover .code:first-child,
.monaco-hover ul:first-child {
margin-top: 0;
}
.monaco-hover p:last-child,
.monaco-hover .code:last-child,
.monaco-hover ul:last-child {
margin-bottom: 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册