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:
BlasenhauerJ 2023-06-19 22:03:04 +02:00
parent 91c33f1d43
commit f57b6dad13
2 changed files with 18 additions and 0 deletions

View File

@ -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 {

View File

@ -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;
}