From 28ec097bb63188a828bc8143fe1aed1a89f5922d Mon Sep 17 00:00:00 2001 From: YangFong Date: Mon, 23 Dec 2024 12:25:49 +0800 Subject: [PATCH] chore: update layout --- src/components/CodemirrorEditor/CssEditor.vue | 2 +- .../CodemirrorEditor/EditorHeader/index.vue | 530 +++--------------- .../CodemirrorEditor/PostSlider.vue | 2 +- .../CodemirrorEditor/RightSlider.vue | 271 +++++++++ src/components/ui/tooltip/Tooltip.vue | 14 + src/components/ui/tooltip/TooltipContent.vue | 31 + src/components/ui/tooltip/TooltipProvider.vue | 11 + src/components/ui/tooltip/TooltipTrigger.vue | 11 + src/components/ui/tooltip/index.ts | 4 + src/stores/index.ts | 3 + src/views/CodemirrorEditor.vue | 50 +- 11 files changed, 463 insertions(+), 466 deletions(-) create mode 100644 src/components/CodemirrorEditor/RightSlider.vue create mode 100644 src/components/ui/tooltip/Tooltip.vue create mode 100644 src/components/ui/tooltip/TooltipContent.vue create mode 100644 src/components/ui/tooltip/TooltipProvider.vue create mode 100644 src/components/ui/tooltip/TooltipTrigger.vue create mode 100644 src/components/ui/tooltip/index.ts diff --git a/src/components/CodemirrorEditor/CssEditor.vue b/src/components/CodemirrorEditor/CssEditor.vue index 0fd15f8..c2725f1 100644 --- a/src/components/CodemirrorEditor/CssEditor.vue +++ b/src/components/CodemirrorEditor/CssEditor.vue @@ -103,7 +103,7 @@ function tabChanged(tabName: string | number) {