perf: 优化页签风格为谷歌模式下的布局和样式 (#1245)

This commit is contained in:
SoulEater
2025-11-26 08:14:30 +08:00
committed by GitHub
parent c22cafaa1e
commit 080ccae0ff
2 changed files with 5 additions and 3 deletions

View File

@@ -321,10 +321,9 @@
.chrome-tab-divider {
position: absolute;
right: 7px;
left: 7px;
width: 1px;
height: 14px;
background-color: #2b2d2f;
}
&:hover {

View File

@@ -618,6 +618,10 @@ onBeforeUnmount(() => {
/>
</template>
<div v-else class="chrome-tab">
<span
v-if="index !== 0 && index !== activeIndex"
class="chrome-tab-divider bg-[#e2e2e2] dark:bg-[#2d2d2d]"
/>
<div class="chrome-tab__bg">
<TagChrome />
</div>
@@ -631,7 +635,6 @@ onBeforeUnmount(() => {
>
<IconifyIconOffline :icon="Close" />
</span>
<span class="chrome-tab-divider" />
</div>
</div>
</div>