Skip to content

Commit 091e3de

Browse files
author
Eric Amodio
committed
Fixes #96795
1 parent fe5024c commit 091e3de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
}
3131

3232
.monaco-editor-hover .markdown-hover > .hover-contents:not(.code-hover-contents) hr {
33-
min-width: 100%;
33+
/* This is a strange rule but it avoids https://github.com/microsoft/vscode/issues/96795, just 100vw on its own caused the actual hover width to increase */
34+
min-width: calc(100% + 100vw);
3435
}
3536

3637
.monaco-editor-hover p,

0 commit comments

Comments
 (0)