1
0
mirror of https://github.com/element-hq/element-web.git synced 2026-10-24 23:19:26 +03:00
Files
element-web/apps/web/res/css/structures/_PictureInPictureDragger.pcss
Milton Moura db69764acd Fix PiP dragger when displaying over widgets (#35395)
Signed-off-by: Milton Moura <milton.moura@nordeck.net>
Co-authored-by: Milton Moura <milton.moura@nordeck.net>
2026-10-14 13:53:28 +00:00

25 lines
651 B
Plaintext

/*
Copyright 2026 Element Creations Ltd.
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial
Please see LICENSE files in the repository root for full details.
*/
.mx_PictureInPictureDragger {
cursor: grab;
user-select: none;
left: 0;
position: fixed;
top: 0;
/*
* Rendered in #mx_PersistedElement_container: display above docked widgets (z-index 9),
* but below the persisted widget shown in the PiP itself (z-index 101), which is
* positioned over a placeholder inside this element.
*/
z-index: 100;
}
.mx_PictureInPictureDragger:active {
cursor: grabbing;
}