style: 加入收藏按钮紧挨页面标题 — 去掉justify-between推到最右, 改gap-12px贴紧标题并垂直居中
This commit is contained in:
1 parent
d311b99805
commit
5ecc93a33e
1 file changed
+3
-5
@@ -52,14 +52,12 @@ const toolDescription = computed<string>(() => t(`tools.${i18nKey.value}.descrip
|
|||||||
<BaseLayout>
|
<BaseLayout>
|
||||||
<div class="tool-layout" :class="{ wide: isWide }">
|
<div class="tool-layout" :class="{ wide: isWide }">
|
||||||
<div class="tool-header">
|
<div class="tool-header">
|
||||||
<div flex flex-nowrap items-center justify-between>
|
<div flex flex-nowrap items-center gap-12px>
|
||||||
<n-h1>
|
<n-h1 m-0>
|
||||||
{{ toolTitle }}
|
{{ toolTitle }}
|
||||||
</n-h1>
|
</n-h1>
|
||||||
|
|
||||||
<div>
|
<FavoriteButton :tool="{ name: route.meta.name, path: route.path } as Tool" />
|
||||||
<FavoriteButton :tool="{ name: route.meta.name, path: route.path } as Tool" />
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="separator" />
|
<div class="separator" />
|
||||||
|
|||||||
Reference in new issue
Block a user