Some small tweaks for Vim mode

This commit is contained in:
Gregory Schier
2025-01-08 06:11:05 -08:00
parent 81005165f3
commit 1920f720a9
4 changed files with 32 additions and 22 deletions

View File

@@ -13,19 +13,20 @@
/* Vim-mode cursor */
.cm-fat-cursor {
@apply bg-text opacity-60;
}
&.cm-focused {
outline: none !important;
@apply outline-0 bg-text !important;
@apply text-surface !important;
}
&:not(.cm-focused) {
.cm-cursor, .cm-fat-cursor {
display: none;
@apply hidden;
}
}
&.cm-focused {
outline: none !important;
}
.cm-content {
@apply py-0;
}
@@ -106,7 +107,7 @@
}
.cm-line {
@apply px-2 overflow-hidden;
@apply overflow-hidden;
}
}