const styles = {
  style: {
    position: 'fixed',
    top: 0,
    left: 0,
    bottom: 0,
    right: 0,
    display: 'flex',
    alignItems: 'center',
    justifyContent: 'center',
    overflow: 'auto',
  },
  innerStyle: {
    margin: 'auto',
  },
};

export default styles;

const styles = {
  style: {
    position: 'fixed',
    top: 0,
    left: 0,
    bottom: 0,
    right: 0,
    display: 'flex',
    alignItems: 'center',
    overflow: 'auto',
  },
  innerStyle: {
    margin: 'auto',
    maxHeight: '100%', // Hack for centering correctly in IE11
  },
};

export default styles;

Fix centered addon for IE11
Fix centered addon for IE11
