We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52a78d8 commit c35e990Copy full SHA for c35e990
src/vs/editor/contrib/hover/browser/contentHover.ts
@@ -592,6 +592,7 @@ export class ContentHoverWidget extends ResizableContentWidget {
592
if (!availableSpace) {
593
return;
594
}
595
+ // Padding needed in order to stop the resizing down to a smaller height
596
let maximumHeight = CONTAINER_HEIGHT_PADDING;
597
Array.from(this._hover.contentsDomNode.children).forEach((hoverPart) => {
598
maximumHeight += hoverPart.clientHeight;
0 commit comments