Fixes #98982: Horizontal rule in hover renders slightly off

This commit is contained in:
Dirk Baeumer
2020-06-04 20:45:21 +02:00
parent 22aaa30490
commit 164e7ed900

View File

@@ -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;
}