style: 加入收藏按钮紧挨页面标题 — 去掉justify-between推到最右, 改gap-12px贴紧标题并垂直居中

This commit is contained in:
personal82555 committed 2026-10-13 10:58:32 +08:00
1 parent d311b99805
commit 5ecc93a33e
1 file changed
+3 -5
+3 -5
View File
@@ -52,14 +52,12 @@ const toolDescription = computed<string>(() => t(`tools.${i18nKey.value}.descrip
<BaseLayout>
<div class="tool-layout" :class="{ wide: isWide }">
<div class="tool-header">
<div flex flex-nowrap items-center justify-between>
<n-h1>
<div flex flex-nowrap items-center gap-12px>
<n-h1 m-0>
{{ toolTitle }}
</n-h1>
<div>
<FavoriteButton :tool="{ name: route.meta.name, path: route.path } as Tool" />
</div>
<FavoriteButton :tool="{ name: route.meta.name, path: route.path } as Tool" />
</div>
<div class="separator" />