fx115: avoid window dragging on non-selected tab deck (#3897)

This commit is contained in:
windingwind 2024-03-29 18:13:08 +08:00 committed by Dan Stillman
parent 2f4a232c41
commit 61ef16b9b7

View file

@ -1,5 +1,12 @@
#tabs-deck { #tabs-deck {
min-width: $min-width-collections-pane + $min-width-items-pane; min-width: $min-width-collections-pane + $min-width-items-pane;
& > :not(.deck-selected) {
// Hide all sub-trees that are in the invisible tab deck
// to avoid the invisible tab decks' -moz-window-dragging to be triggered.
// Do not use display: none to avoid reflowing the layout.
-moz-subtree-hidden-only-visually: 1;
}
} }
#zotero-context-pane { #zotero-context-pane {