Skip to content

Commit 7c54a93

Browse files
authored
Merge pull request #20 from facebook/next
Fix floating caret position incorrect while scrolling overlay (facebook#4024)
2 parents 2e9fcbb + da518d2 commit 7c54a93

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: packages/react-error-overlay/src/components/CodeBlock.js

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import React from 'react';
1010
import { redTransparent, yellowTransparent } from '../styles';
1111

1212
const _preStyle = {
13+
position: 'relative',
1314
display: 'block',
1415
padding: '0.5em',
1516
marginTop: '0.5em',

0 commit comments

Comments
 (0)