diff --git a/packages/editor-ui/src/styles/plugins/_codemirror.scss b/packages/editor-ui/src/styles/plugins/_codemirror.scss index d0d00a0014238..4eb6382dc525f 100644 --- a/packages/editor-ui/src/styles/plugins/_codemirror.scss +++ b/packages/editor-ui/src/styles/plugins/_codemirror.scss @@ -95,12 +95,18 @@ } .cm-editor .cm-tooltip.cm-completionInfo, -.cm-editor .cm-tooltip.cm-cursorInfo { +.cm-editor .cm-tooltip.cm-cursorInfo, +.cm-editor .cm-tooltip-hover { // Add padding when infobox only contains text &:not(:has(div)) { padding: var(--spacing-xs); } + &:has(.cm-tooltip-lint) { + padding: 0; + overflow: hidden; + } + .autocomplete-info-container { display: flex; flex-direction: column;