From 5c7e27d81f2f4859fbf3dd1dee8d4a43a90343d9 Mon Sep 17 00:00:00 2001 From: YangQi Date: Thu, 4 Aug 2022 19:06:43 +0800 Subject: [PATCH] pref: optimizing css (#171) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 删除不会生效的 CSS - 调整结构,减少不必要的标签 --- .../CodemirrorEditor/aboutDialog.vue | 10 ++++----- .../CodemirrorEditor/resetDialog.vue | 21 ++++++------------- src/views/index.vue | 17 +-------------- 3 files changed, 11 insertions(+), 37 deletions(-) diff --git a/src/components/CodemirrorEditor/aboutDialog.vue b/src/components/CodemirrorEditor/aboutDialog.vue index 33eac22..3820d53 100644 --- a/src/components/CodemirrorEditor/aboutDialog.vue +++ b/src/components/CodemirrorEditor/aboutDialog.vue @@ -7,17 +7,15 @@ width="30%" center > -
+

一款高度简洁的微信 Markdown 编辑器

-
-

扫码关注我的公众号,原创技术文章第一时间推送!

- + diff --git a/src/components/CodemirrorEditor/resetDialog.vue b/src/components/CodemirrorEditor/resetDialog.vue index 76e9c4c..644618a 100644 --- a/src/components/CodemirrorEditor/resetDialog.vue +++ b/src/components/CodemirrorEditor/resetDialog.vue @@ -4,16 +4,19 @@ class="reset__dialog" :visible="showResetConfirm" @close="$emit('close')" + center > -
此操作将丢失本地自定义样式,是否继续?
-