style(layout): 页签末项右内边距 + 切换过渡平滑

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
liuyun 2026-10-16 11:22:21 +08:00
parent c3901e3772
commit f5cf1e1bcf

View File

@ -119,6 +119,11 @@ onBeforeUnmount(() => document.removeEventListener('click', closeMenu))
:deep(.el-tabs__item) { :deep(.el-tabs__item) {
@apply mr-1 h-8 rounded-base px-3 text-sm text-text-regular; @apply mr-1 h-8 rounded-base px-3 text-sm text-text-regular;
border: 1px solid transparent; border: 1px solid transparent;
transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
:deep(.el-tabs__item:last-child) {
padding-right: 0.75rem !important;
} }
:deep(.el-tabs__item:hover) { :deep(.el-tabs__item:hover) {