diff --git a/src/styles/admin.css b/src/styles/admin.css index bc62d77..97173e5 100644 --- a/src/styles/admin.css +++ b/src/styles/admin.css @@ -223,6 +223,20 @@ body { .workspace-tabs.n-tabs .n-tabs-nav .n-tabs-tab-pad { width: 0; } +/* 保留组件的定位与切换动画,仅在活动指示器中央绘制 10px 短线。 */ +.workspace-tabs.n-tabs .n-tabs-nav .n-tabs-bar { + background: transparent; +} +.workspace-tabs.n-tabs .n-tabs-nav .n-tabs-bar::after { + content: ''; + position: absolute; + top: 0; + bottom: 0; + left: 50%; + width: 10px; + transform: translateX(-50%); + background: var(--n-bar-color); +} .workspace-tabs .n-tabs-nav-scroll-wrapper { min-width: 0; }