mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
Merge pull request #187698 from microsoft/aiday/limitingWidthOfHover
Limiting the width of the content hover to the content inside
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
box-sizing: border-box;
|
||||
animation: fadein 100ms linear;
|
||||
line-height: 1.5em;
|
||||
white-space: var(--vscode-hover-whiteSpace, normal);
|
||||
}
|
||||
|
||||
.monaco-hover.hidden {
|
||||
@@ -27,7 +28,7 @@
|
||||
}
|
||||
|
||||
.monaco-hover .markdown-hover > .hover-contents:not(.code-hover-contents) {
|
||||
max-width: var(--hover-maxWidth, 500px);
|
||||
max-width: var(--vscode-hover-maxWidth, 500px);
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
@@ -105,7 +106,7 @@
|
||||
}
|
||||
|
||||
.monaco-hover .monaco-tokenized-source {
|
||||
white-space: pre-wrap;
|
||||
white-space: var(--vscode-hover-sourceWhiteSpace, pre-wrap);
|
||||
}
|
||||
|
||||
.monaco-hover .hover-row.status-bar {
|
||||
|
||||
Reference in New Issue
Block a user