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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user