Browse Source

fix: the width of the code input type is not full (#838)

#### What type of PR is this?
/kind bug


#### What this PR does / why we need it:
修复 Console 端 FormKit 的 Code 输入类型宽度异常

#### Which issue(s) this PR fixes:

Fixes # https://github.com/halo-dev/halo/issues/3227

#### Special notes for your reviewer:

#### Does this PR introduce a user-facing change?

```release-note
修复 Console 端 FormKit 的 Code 输入框宽度未占满的问题
```
pull/840/head
infanx 2 years ago committed by GitHub
parent
commit
47d2b819eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      packages/components/src/components/codemirror/Codemirror.vue

1
packages/components/src/components/codemirror/Codemirror.vue

@ -45,6 +45,7 @@ const emit = defineEmits<{
const customTheme = EditorView.theme({
"&": {
height: props.height,
width: "100%",
},
});

Loading…
Cancel
Save