mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-18 21:11:25 +02:00
Fixed 15221
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
fe4af4fb90
commit
02b552f958
@ -165,6 +165,7 @@ export default class PersistedElement extends React.Component {
|
|||||||
|
|
||||||
const parentRect = parent.getBoundingClientRect();
|
const parentRect = parent.getBoundingClientRect();
|
||||||
Object.assign(child.style, {
|
Object.assign(child.style, {
|
||||||
|
zIndex: 10,
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
top: parentRect.top + 'px',
|
top: parentRect.top + 'px',
|
||||||
left: parentRect.left + 'px',
|
left: parentRect.left + 'px',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user