дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-06 18:17:15 +02:00
fix(workbench): move any project tab to a new window from its own arrow (#3991)
The Move Tab to New Window arrow was one bar-level button drawn inside the last tab, above its centre line, and always moved the selected tab. Every project tab now has its own arrow on its right edge, centred and revealed on hover like the close button, and the tab context menu's Move Tab to New Window works on any tab. window_group_detach takes the tab's label and selects it before detaching; without an argument (Find Action) the action still moves the selected tab. Fixes #3954 Co-authored-by: Inf1mum <[email protected]>
Цей коміт міститься в:
1 джерело
d250b351bb
коміт
5efd58d3af
8 files changed
+48
-14
No files matched your search
@@ -86,8 +86,15 @@
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* The per-tab detach button mirrors .close on the right edge, centred like it by the row. */
|
||||
.detach {
|
||||
position: absolute;
|
||||
right: var(--stripe-outer-padding);
|
||||
top: 0;
|
||||
right: 6px;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
opacity: 0;
|
||||
}
|
||||
.item:hover .detach,
|
||||
.item:focus-within .detach {
|
||||
opacity: 1;
|
||||
}
|
||||
Reference in new issue
Заблокувати користувача