Skip to content

Commit 7526cec

Browse files
spacedragonzfy0701
authored andcommitted
[Code] fix line height changed after find reference is open (#34682)
1 parent c4c1257 commit 7526cec

File tree

1 file changed

+1
-1
lines changed
  • x-pack/plugins/code/public/components/editor

1 file changed

+1
-1
lines changed

x-pack/plugins/code/public/components/editor/editor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export class EditorComponent extends React.Component<IProps> {
104104
this.monaco.editor.updateOptions({ lineHeight: 38 });
105105
} else if (!this.props.showBlame) {
106106
this.destroyBlameWidgets();
107-
this.monaco.editor.updateOptions({ lineHeight: 24 });
107+
this.monaco.editor.updateOptions({ lineHeight: 18 });
108108
}
109109
if (prevProps.blames !== this.props.blames && this.props.showBlame) {
110110
this.loadBlame(this.props.blames);

0 commit comments

Comments
 (0)