Skip to content

Commit

Permalink
Merge branch 'cursor-color' into 'main'
Browse files Browse the repository at this point in the history
Improve MDE cursor visibility

See merge request reportcreator/reportcreator!458
  • Loading branch information
MWedl committed Feb 22, 2024
2 parents ec3a80d + 7958cd0 commit 962c7eb
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions frontend/src/assets/mde-highlight.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

.cm-focused .cm-selectionBackground { background-color: rgba(var(--v-theme-codemirror-selection), 1) !important; }
.cm-selectionBackground { background-color: rgba(var(--v-theme-codemirror-selection), 0.5) !important; }

.cm-cursor { border-left-color: rgb(var(--v-theme-on-surface)); }


/* inline markdown styles */
Expand All @@ -31,18 +31,7 @@
.tok-codeblock, .tok-inlinecode {
font-family: monospace;
color: vuetify.$code-color;
position: relative;

&::before {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
content: "";
z-index: -10;
background-color: vuetify.$code-background-color;
}
background-color: rgba(var(--v-theme-on-surface), 0.05);
}

.tok-table {
Expand Down

0 comments on commit 962c7eb

Please sign in to comment.