mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-01 02:41:39 -05: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
2 changed files with 7 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue