From e4bbc68c23c36cf1c24d661590d814125eaef8e2 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Sun, 11 Sep 2022 17:10:25 +0800 Subject: [PATCH] perf: improve modal component style --- .../src/components/modal/Modal.story.vue | 19 +++++--- .../components/src/components/modal/Modal.vue | 44 +++++++++++-------- .../contents/attachments/AttachmentList.vue | 8 ++-- .../components/AttachmentPoliciesModal.vue | 4 +- .../components/AttachmentUploadModal.vue | 4 +- .../CoreSelectorProvider.vue | 21 ++++----- src/modules/contents/pages/SinglePageList.vue | 8 ++-- src/modules/contents/posts/PostList.vue | 8 ++-- .../posts/components/PostPreviewModal.vue | 15 ++++--- .../posts/tags/components/TagEditingModal.vue | 8 ++-- .../users/components/UserEditingModal.vue | 4 +- 11 files changed, 76 insertions(+), 67 deletions(-) diff --git a/packages/components/src/components/modal/Modal.story.vue b/packages/components/src/components/modal/Modal.story.vue index 115bb55d..5ad96e84 100644 --- a/packages/components/src/components/modal/Modal.story.vue +++ b/packages/components/src/components/modal/Modal.story.vue @@ -1,4 +1,5 @@ - diff --git a/packages/components/src/components/modal/Modal.vue b/packages/components/src/components/modal/Modal.vue index 1340e9d3..f959657d 100644 --- a/packages/components/src/components/modal/Modal.vue +++ b/packages/components/src/components/modal/Modal.vue @@ -97,14 +97,14 @@ watch( :style="contentStyles" class="modal-content transform transition-all" > -