Skip to content

Commit

Permalink
Removes the parent div
Browse files Browse the repository at this point in the history
  • Loading branch information
stratoula committed Sep 8, 2023
1 parent 48a8252 commit 4e7a0bc
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions packages/kbn-text-based-editor/src/resizable_button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,17 @@ export function ResizableButton({
onKeyDownResizeHandler: (keyDownEvernt: React.KeyboardEvent) => void;
}) {
return (
<div
<EuiResizableButton
data-test-subj="TextBasedLangEditor-resize"
onMouseDown={onMouseDownResizeHandler}
onKeyDown={onKeyDownResizeHandler}
onTouchStart={onMouseDownResizeHandler}
css={css`
position: absolute;
bottom: 0;
left: 0;
right: 0;
`}
>
<EuiResizableButton
data-test-subj="TextBasedLangEditor-resize"
onMouseDown={onMouseDownResizeHandler}
onKeyDown={onKeyDownResizeHandler}
onTouchStart={onMouseDownResizeHandler}
/>
</div>
/>
);
}

0 comments on commit 4e7a0bc

Please sign in to comment.