This commit is contained in:
2024-01-23 15:22:48 +08:00
parent 6ba07ace97
commit a3d70af23c
5 changed files with 6 additions and 16 deletions

View File

@@ -29,7 +29,7 @@ const code = ref(props.modelValue)
const isDark = useDark()
const styleTheme = EditorView.baseTheme({
"& .cm-scroller": {
"font-family": "Consolas",
"font-family": "Monaco",
},
"&.cm-editor.cm-focused": {
outline: "none",

View File

@@ -1,15 +0,0 @@
<template>
<svg
viewBox="0 0 1024 1024"
focusable="false"
data-icon="caret-right"
width="18px"
height="18px"
fill="currentColor"
aria-hidden="true"
>
<path
d="M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z"
></path>
</svg>
</template>