@duet3d/monacotokens 3.7.0-alpha.4 → 3.7.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/providers.js CHANGED
@@ -668,10 +668,11 @@ function installSuggestWidgetWidth() {
668
668
  // content, or a bullet/numbered list). Single-line hovers (just one `<p>`) don't need it and the
669
669
  // extra gutter would look off-balance against the natural left margin
670
670
  ".monaco-editor .monaco-hover .monaco-hover-content:has(p + p, ul, ol), .monaco-editor-hover .monaco-hover-content:has(p + p, ul, ol) { padding-right: 12px; }",
671
- // Pin <li> height to a clean 19 px integer (matches the parent's pinned line-height). Browser default
671
+ // Pin <li> to a clean 19 px integer floor (matches the parent's pinned line-height). Browser default
672
672
  // padding/margin gives a fractional ~17.4167 px row that, in lists with many items, accumulates into a
673
- // half-pixel overflow at the bottom and brings back the phantom scrollbar
674
- ".monaco-editor .monaco-hover li, .monaco-editor-hover li { height: 19px !important; box-sizing: border-box; }"
673
+ // half-pixel overflow at the bottom and brings back the phantom scrollbar. min-height (not height) so
674
+ // long parameter descriptions that wrap can grow vertically instead of overlapping the next item
675
+ ".monaco-editor .monaco-hover li, .monaco-editor-hover li { min-height: 19px; box-sizing: border-box; }"
675
676
  ].join(" ");
676
677
  document.head.appendChild(style);
677
678
  suggestWidgetStyleInstalled = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duet3d/monacotokens",
3
- "version": "3.7.0-alpha.4",
3
+ "version": "3.7.0-alpha.5",
4
4
  "description": "TypeScript library that holds syntax highlighting files for the Monaco editor",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",