From 9beaaab7f7b1b82c9dfff4fbf34caf5b64c1d1b7 Mon Sep 17 00:00:00 2001 From: Mike Fix Date: Fri, 7 Feb 2020 20:47:37 -0800 Subject: [PATCH] fix cursor on mobile Closes #941 --- components/Carbon.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/components/Carbon.js b/components/Carbon.js index 5e0bdd6..d827e2c 100644 --- a/components/Carbon.js +++ b/components/Carbon.js @@ -291,6 +291,13 @@ class Carbon extends React.PureComponent { .container :global(.CodeMirror-linenumber) { cursor: pointer; } + + @media (max-width: 768px) { + /* show cursor on mobile */ + .container :global([contenteditable='true']) { + user-select: text; + } + } `}