Skip to content

Commit 1f99414

Browse files
committed
chore(editor): update Tool and Mindmap components for improved layout
1 parent b7fc638 commit 1f99414

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<script setup lang="ts"></script>
22

33
<template>
4-
<div class="flex h-[var(--editor-tool-header-height)] items-center px-2">
4+
<div
5+
class="border-border flex h-[var(--editor-tool-header-height)] items-center border-b"
6+
>
57
<slot />
68
</div>
79
</template>

src/renderer/components/editor/mindmap/Mindmap.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ watch(selectedSnippetContent, () => {
8888
<template>
8989
<div>
9090
<EditorHeaderTool>
91-
<div class="flex w-full justify-between">
91+
<div class="flex w-full items-center justify-between px-2">
9292
<div>
9393
<UiActionButton
9494
:tooltip="i18n.t('button.zoomIn')"

0 commit comments

Comments
 (0)