Merge pull request #2077 from coralproject/ie11-fixes

Fix IE11 issues in Admin
This commit is contained in:
Kim Gardner
2018-11-16 12:59:04 -05:00
committed by GitHub
2 changed files with 11 additions and 1 deletions
+5
View File
@@ -14,6 +14,11 @@ import { hideShortcutsNote } from './actions/moderation';
smoothscroll.polyfill();
if (!NodeList.prototype.forEach) {
// Polyfill IE11 missing forEach in NodeList.
NodeList.prototype.forEach = Array.prototype.forEach;
}
function init({ store, localStorage }) {
const shouldHide = localStorage.getItem('coral:shortcutsNote') === 'hide';
if (shouldHide) {
@@ -68,7 +68,12 @@
margin-top: 0px;
flex: 1;
color: black;
max-width: 500px;
/*
IE11 fix Next line was supposed to be:
max-width: 500px;
*/
padding-right: 20px;
/** IE11 fix end **/
font-weight: 300;
font-size: 16px;
overflow-wrap: break-word;