fix cursor on mobile

Closes #941
main
Mike Fix 5 years ago
parent b9ce35f616
commit 9beaaab7f7
No known key found for this signature in database
GPG Key ID: 1D85E862314CA79F

@ -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;
}
}
`}
</style>
</div>

Loading…
Cancel
Save