From 9eb52e835b38f6f907540b8b16beda1579607f11 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Sat, 26 Feb 2022 11:08:33 +0800 Subject: [PATCH] Fix the problem of abnormal ui when the editor is switched to full screen (#465) Signed-off-by: Ryan Wang --- package.json | 2 +- pnpm-lock.yaml | 8 ++++---- src/styles/global.less | 4 ---- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 8dfc757f..9eed8538 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "@codemirror/lang-html": "^0.19.4", "@codemirror/lang-java": "^0.19.1", "@halo-dev/admin-api": "^1.0.0-alpha.49", - "@halo-dev/editor": "^3.0.0-alpha.1", + "@halo-dev/editor": "^3.0.0-alpha.2", "ant-design-vue": "^1.7.8", "dayjs": "^1.10.7", "enquire.js": "^2.1.6", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 690c0d07..727deace 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -7,7 +7,7 @@ specifiers: '@codemirror/lang-html': ^0.19.4 '@codemirror/lang-java': ^0.19.1 '@halo-dev/admin-api': ^1.0.0-alpha.49 - '@halo-dev/editor': ^3.0.0-alpha.1 + '@halo-dev/editor': ^3.0.0-alpha.2 '@vue/cli-plugin-babel': ~5.0.1 '@vue/cli-plugin-eslint': ~5.0.1 '@vue/cli-plugin-router': ~5.0.1 @@ -52,7 +52,7 @@ dependencies: '@codemirror/lang-html': 0.19.4 '@codemirror/lang-java': 0.19.1 '@halo-dev/admin-api': 1.0.0-alpha.49 - '@halo-dev/editor': 3.0.0-alpha.1 + '@halo-dev/editor': 3.0.0-alpha.2 ant-design-vue: 1.7.8_9065e7474e033a8e4b95615fc8e6c36c dayjs: 1.10.7 enquire.js: 2.1.6 @@ -1585,8 +1585,8 @@ packages: - debug dev: false - /@halo-dev/editor/3.0.0-alpha.1: - resolution: {integrity: sha512-IRxsmBTOYLzkgSZ2wKO4GNeXSBkGNy4LfnnIwk2regmUwy548xMpGF8Az/tqeKJ3a7NjZ6WFqfxrP9oSUSqaQg==} + /@halo-dev/editor/3.0.0-alpha.2: + resolution: {integrity: sha512-er9X+WP0vBpbDdGVMu9k/aUd3pQIeV047YHXONIp5GWnueJcBxg4jvNa4UPLWIBttsWNVeto7/maYiYVzz69IA==} dependencies: '@iktakahiro/markdown-it-katex': 4.0.1 '@susisu/mte-kernel': 2.1.1 diff --git a/src/styles/global.less b/src/styles/global.less index 42b07c7b..ba63e464 100644 --- a/src/styles/global.less +++ b/src/styles/global.less @@ -831,10 +831,6 @@ body { z-index: 1000 !important; } -.v-note-wrapper { - z-index: 999 !important; -} - .header-comment-popover { .ant-popover-content { .ant-popover-inner-content {