Skip to content

Commit

Permalink
Fix floating caret position incorrect while scrolling overlay (#4024)
Browse files Browse the repository at this point in the history
  • Loading branch information
jihchi authored and Timer committed Mar 27, 2018
1 parent 9c167a4 commit da518d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-error-overlay/src/components/CodeBlock.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import React from 'react';
import { redTransparent, yellowTransparent } from '../styles';

const _preStyle = {
position: 'relative',
display: 'block',
padding: '0.5em',
marginTop: '0.5em',
Expand Down

0 comments on commit da518d2

Please sign in to comment.