diff --git a/src/components/TopNav/index.vue b/src/components/TopNav/index.vue index db3c2b5..e89336d 100644 --- a/src/components/TopNav/index.vue +++ b/src/components/TopNav/index.vue @@ -171,6 +171,11 @@ onMounted(() => { \ No newline at end of file diff --git a/src/layout/components/TagsView/index.vue b/src/layout/components/TagsView/index.vue index b30f04f..815d8ab 100644 --- a/src/layout/components/TagsView/index.vue +++ b/src/layout/components/TagsView/index.vue @@ -18,10 +18,10 @@ @click.middle="!isAffix(tag) ? closeSelectedTag(tag) : ''" @contextmenu.prevent="openMenu(tag, $event)" > - + {{ tag.title }} - - + + @@ -389,7 +389,7 @@ function handleScroll(): void { $divider: 1px solid var(--tags-item-border, #d8dce5); .tags-nav-btn { - flex-shrink: 0; + flex-shrink: 0; display: flex; align-items: center; justify-content: center; @@ -421,7 +421,8 @@ function handleScroll(): void { height: 100%; .tags-view-item { - display: inline-block; + display: inline-flex; + align-items: center; position: relative; cursor: pointer; height: 26px; @@ -433,6 +434,9 @@ function handleScroll(): void { font-size: 12px; margin-left: 5px; border-radius: 3px; + text-decoration: none; + vertical-align: middle; + padding-top: 2px !important; &:first-of-type { margin-left: 6px; } &:last-of-type { margin-right: 15px; } @@ -519,26 +523,33 @@ function handleScroll(): void {