diff --git a/src/components/Editor/Editor.tsx b/src/components/Editor/Editor.tsx index f7a38d7..1c7ef9f 100644 --- a/src/components/Editor/Editor.tsx +++ b/src/components/Editor/Editor.tsx @@ -448,10 +448,10 @@ export default class Editor extends React.Component { ? // Trigger redo with ⌘+Shift+Z on Mac e.metaKey && e.keyCode === KEYCODE_Z && e.shiftKey : isWindows - ? // Trigger redo with Ctrl+Y on Windows - e.ctrlKey && e.keyCode === KEYCODE_Y - : // Trigger redo with Ctrl+Shift+Z on other platforms - e.ctrlKey && e.keyCode === KEYCODE_Z && e.shiftKey) && + ? // Trigger redo with Ctrl+Y on Windows + e.ctrlKey && e.keyCode === KEYCODE_Y + : // Trigger redo with Ctrl+Shift+Z on other platforms + e.ctrlKey && e.keyCode === KEYCODE_Z && e.shiftKey) && !e.altKey ) { e.preventDefault(); diff --git a/src/theme/theme-dark.less b/src/theme/theme-dark.less index ac7e2e2..8a3a4c2 100644 --- a/src/theme/theme-dark.less +++ b/src/theme/theme-dark.less @@ -153,7 +153,11 @@ https://prismjs.com/download.html#themes=prism-twilight&languages=markup+css+cli border-bottom: 1px dashed #545454; margin-top: 0.75em; background: hsla(0, 0%, 33%, 0.25); - background: linear-gradient(to right, hsla(0, 0%, 33%, 0.1) 70%, hsla(0, 0%, 33%, 0)); + background: linear-gradient( + to right, + hsla(0, 0%, 33%, 0.1) 70%, + hsla(0, 0%, 33%, 0) + ); } .line-highlight.line-highlight:before,