merge #1012: fix(float): 浮窗右下角缩放手柄不再被 tab 内容压住
This commit is contained in:
commit
042ae22bf4
3 files changed
+66
-2
No files matched your search
@@ -62,8 +62,12 @@
|
||||
|
||||
/* Docked by the flex column above (a sibling of `.gitScroll`), plus sticky so
|
||||
it also survives the case where the host tab body itself scrolls the whole
|
||||
tab — the branch control must never leave the bottom of the pane. */
|
||||
.gitFooter { flex: none; min-width: 0; position: sticky; bottom: 0; z-index: 1; border-top: 1px solid var(--dsw-alias-border-l1); background: var(--dsw-alias-bg-base); }
|
||||
tab — the branch control must never leave the bottom of the pane.
|
||||
NO z-index: in a floating window the host's resize grip is the last child
|
||||
at `z-index: auto`, so a stacking footer paints over the bottom-right
|
||||
corner and makes the grip un-hittable. Sticky (positioned) already paints
|
||||
above the scrolled rows. */
|
||||
.gitFooter { flex: none; min-width: 0; position: sticky; bottom: 0; border-top: 1px solid var(--dsw-alias-border-l1); background: var(--dsw-alias-bg-base); }
|
||||
.footerRow { display: flex; align-items: center; min-width: 0; min-height: 28px; }
|
||||
|
||||
/* A failed remote op reports above the branch row and git's stderr can be long:
|
||||
|
||||
@@ -109,6 +109,20 @@
|
||||
-webkit-app-region: no-drag;
|
||||
}
|
||||
|
||||
/* The host float window's resize grip (`data-dockkit-float-resize`, the
|
||||
20×20 bottom-right corner) is the float's LAST child but sits at
|
||||
`z-index: auto`. Tab content we do not control the stacking of may paint
|
||||
above it at z-index 1 — the Git footer and the explorer's multi-select bar
|
||||
both do — which made the grip invisible AND un-hittable: a floating Git tab
|
||||
could not be resized by pointer at all, while the file tab's float (no
|
||||
stacking bottom bar) resized normally. Raise the host's own hook above that
|
||||
class of content; this is the half that also covers third-party tab
|
||||
content we do not own (the content-side cleanup is .gitFooter dropping its
|
||||
own z-index in changes.module.css). */
|
||||
:global([data-dockkit-float-resize]) {
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
:global([data-dsh-panel-host][data-dsh-panel-host-degraded]) {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
|
||||
Reference in new issue
Block a user