Skip to content

Commit d108ec7

Browse files
committed
better hover margins
1 parent 10ed637 commit d108ec7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/vs/editor/contrib/hover/browser/hover.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
box-sizing: initial;
2020
animation: fadein 100ms linear;
2121
animation: fadein 100ms ease-in;
22+
line-height: 1.5em;
2223
}
2324

2425
.monaco-editor-hover.hidden {
@@ -30,7 +31,7 @@
3031
}
3132

3233
.monaco-editor-hover .hover-row {
33-
padding: 0.5em 0.5em;
34+
padding: 4px 5px;
3435
}
3536

3637
.monaco-editor-hover .hover-row:not(:first-child):not(:empty) {
@@ -39,7 +40,7 @@
3940

4041
.monaco-editor-hover p,
4142
.monaco-editor-hover ul {
42-
margin: 0.6em 0;
43+
margin: 8px 0;
4344
}
4445

4546
.monaco-editor-hover p:first-child,
@@ -53,7 +54,6 @@
5354
}
5455

5556
.monaco-editor-hover ul {
56-
line-height: 1.8em;
5757
list-style-position: inside;
5858
-webkit-padding-start: 6px;
5959
}

0 commit comments

Comments
 (0)