Skip to content

Commit b66b922

Browse files
WangQianliangzfy0701
authored andcommitted
fix(code/frontend): fix blank left to blame (#35449)
1 parent 5c2ab34 commit b66b922

File tree

1 file changed

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

1 file changed

+1
-6
lines changed

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,7 @@ export class EditorComponent extends React.Component<IProps> {
128128
macModifier={[Modifier.meta]}
129129
winModifier={[Modifier.ctrl]}
130130
/>
131-
<div
132-
tabIndex={0}
133-
className="codeContainer__editor"
134-
id="mainEditor"
135-
style={{ paddingLeft: this.props.showBlame ? 300 : 0 }}
136-
/>
131+
<div tabIndex={0} className="codeContainer__editor" id="mainEditor" />
137132
{this.renderReferences()}
138133
</EuiFlexItem>
139134
);

0 commit comments

Comments
 (0)