<commit_before>import Prefixer from 'inline-style-prefixer'

const prefixer = new Prefixer()

const loadmaskStyles = (bgColor) => {
  return prefixer.prefix({
    alignItems: 'center',
    backgroundColor: bgColor || '#424242',
    display: 'flex',
    height: '100%',
    justifyContent: 'center',
    position: 'fixed',
    top: 0,
    bottom: 0,
    left: 0,
    right: 0,
    width: '100%',
    zIndex: 99999
  })
}

export default loadmaskStyles
<commit_msg>Bugfix: IE11 - content not being centered<commit_after>import Prefixer from 'inline-style-prefixer'

const prefixer = new Prefixer()

const loadmaskStyles = (bgColor) => {
  return prefixer.prefix({
    alignItems: 'center',
    backgroundColor: bgColor || '#424242',
    display: 'flex',
    flexDirection: 'column',
    height: '100%',
    justifyContent: 'center',
    position: 'fixed',
    top: 0,
    bottom: 0,
    left: 0,
    right: 0,
    width: '100%',
    zIndex: 99999
  })
}

export default loadmaskStyles

{'fraction_non_alphanumeric': 0.1363173957273652, 'fraction_numerical': 0.044760935910478125, 'mean_word_length': 3.353982300884956, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '728602', 'n_tokens_mistral': 362, 'n_tokens_neox': 333, 'n_words': 89}