Skip to content

Commit 0986c79

Browse files
Stephan AngoStephan Ango
authored andcommitted
Fix cursor for mobile
1 parent 4666cd4 commit 0986c79

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

obsidian.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2374,15 +2374,17 @@ body.full-borders .side-dock-ribbon {
23742374

23752375

23762376
/* Fancy cursor */
2377-
.fancy-cursor .mod-cm6 .cm-line {
2377+
body:not(.is-mobile).fancy-cursor .mod-cm6 .cm-line {
23782378
caret-color:transparent;
23792379
}
2380-
.fancy-cursor .mod-cm6 .cm-cursor {
2380+
body:not(.is-mobile).fancy-cursor .mod-cm6 .cm-cursor {
23812381
width:0;
23822382
border:none;
23832383
border-right:2px solid var(--text-accent);
23842384
}
2385-
2385+
.is-mobile.fancy-cursor .mod-cm6 .cm-line {
2386+
caret-color:var(--text-accent);
2387+
}
23862388

23872389
.markdown-source-view.mod-cm6 hr {
23882390
border-width:2px;

0 commit comments

Comments
 (0)