fix: prevent workbar scroll arrow from overlapping add button

Hide disabled scroll arrows at tab strip boundaries for hover, keyboard focus, and touch input. Update the workbar specification to match.

Release note: Hide the workbar scroll arrow at the end of the tab strip so it no longer overlaps the add button.
This commit is contained in:
mesalogo
2026-09-27 13:30:22 +08:00
parent 67dedc2ed2
commit 8b15399577
2 changed files with 2 additions and 10 deletions
+1 -9
View File
@@ -4319,15 +4319,11 @@ button > svg {
}
.workbar-shell__tab-row:hover .workbar-shell__scroll-button:not(:disabled),
.workbar-shell__scroll-button:focus-visible {
.workbar-shell__scroll-button:focus-visible:not(:disabled) {
opacity: 1;
pointer-events: auto;
}
.workbar-shell__tab-row:hover .workbar-shell__scroll-button:disabled {
opacity: 0.4;
}
.workbar-shell__scroll-button:first-child {
left: 0;
}
@@ -4351,10 +4347,6 @@ button > svg {
opacity: 1;
pointer-events: auto;
}
.workbar-shell__scroll-button:disabled {
opacity: 0.4;
}
}
.workbar-shell__content,