Fix styling on admin site

This commit is contained in:
Chi Vinh Le
2018-03-21 19:48:33 +01:00
parent 1aeae553e5
commit 78eb92e3ab
2 changed files with 9 additions and 1 deletions
@@ -5,5 +5,11 @@
margin: 20px 0px 20px 10px;
font-style: italic;
border-radius: 2px;
&::after {
content: none;
}
&::before {
content: none;
}
}
}
@@ -81,7 +81,9 @@ class Editor extends React.Component {
outdentOnEnter = e => {
if (e.key === 'Enter' && !e.shiftKey) {
setTimeout(() => document.execCommand('outdent'));
setTimeout(() => {
document.execCommand('outdent');
});
}
};