mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-11 09:53:32 +03:00
Hide code mirror cursor when not focused
Closes #51 again - Hide CodeMirror cursor when not focused
This commit is contained in:
parent
08604b0b0e
commit
a39d064f0c
@ -869,6 +869,12 @@ body.zen {
|
||||
|
||||
.CodeMirror-measure pre { position: static; }
|
||||
|
||||
.CodeMirror:not(.CodeMirror-focused) {
|
||||
div.CodeMirror-cursor {
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
.CodeMirror div.CodeMirror-cursor {
|
||||
position: absolute;
|
||||
border-right: none;
|
||||
|
2
core/client/docs/dist/css/ghost-ui.min.css
vendored
2
core/client/docs/dist/css/ghost-ui.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user