Skip to content

Commit

Permalink
Fix cursor for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Ango authored and Stephan Ango committed Nov 15, 2021
1 parent 4666cd4 commit 0986c79
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions obsidian.css
Original file line number Diff line number Diff line change
Expand Up @@ -2374,15 +2374,17 @@ body.full-borders .side-dock-ribbon {


/* Fancy cursor */
.fancy-cursor .mod-cm6 .cm-line {
body:not(.is-mobile).fancy-cursor .mod-cm6 .cm-line {
caret-color:transparent;
}
.fancy-cursor .mod-cm6 .cm-cursor {
body:not(.is-mobile).fancy-cursor .mod-cm6 .cm-cursor {
width:0;
border:none;
border-right:2px solid var(--text-accent);
}

.is-mobile.fancy-cursor .mod-cm6 .cm-line {
caret-color:var(--text-accent);
}

.markdown-source-view.mod-cm6 hr {
border-width:2px;
Expand Down

0 comments on commit 0986c79

Please sign in to comment.