fix cursor gap on ace editor
*ace editor cursor gap is calculate on monoscape font, override previous sans-serif to fix gap between cursor and real position
This commit is contained in:
parent
91c33f1d43
commit
f57b6dad13
|
@ -16,6 +16,15 @@
|
|||
font-family: "Open Sans", sans-serif !important;
|
||||
}
|
||||
|
||||
.ace_editor,
|
||||
.ace_editor div,
|
||||
.ace_content {
|
||||
font-family: "Monaco", "Menlo", "Ubuntu Mono", "Consolas", "source-code-pro",
|
||||
monospace !important;
|
||||
font-size: 16px !important;
|
||||
font-weight: normal !important;
|
||||
}
|
||||
|
||||
*,
|
||||
::before,
|
||||
::after {
|
||||
|
|
|
@ -11,6 +11,15 @@
|
|||
font-family: "Open Sans", sans-serif !important;
|
||||
}
|
||||
|
||||
.ace_editor,
|
||||
.ace_editor div,
|
||||
.ace_content {
|
||||
font-family: "Monaco", "Menlo", "Ubuntu Mono", "Consolas", "source-code-pro",
|
||||
monospace !important;
|
||||
font-size: 16px !important;
|
||||
font-weight: normal !important;
|
||||
}
|
||||
|
||||
.close-btn {
|
||||
@apply dark:brightness-90 inline-block px-6 py-3 font-bold text-center text-red-500 border border-red-500 uppercase align-middle transition-all rounded-lg cursor-pointer dark:bg-gray-200 dark:hover:brightness-75 bg-white hover:bg-white/80 focus:bg-white/80 leading-normal ease-in tracking-tight-rem shadow-xs hover:-translate-y-px active:opacity-85 hover:shadow-md;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue