mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-22 15:44:52 +03:00
cb1af0d3de
* Remove unnecessary PipContainer component * Redesign the picture-in-picture window * Add a hover effect to the controls * Clarify that WidgetPip has call-specific behavior
56 lines
1.2 KiB
Text
56 lines
1.2 KiB
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`PictureInPictureDragger when rendering the dragger with PiP content 1 and 2 should render both contents 1`] = `
|
|
<div>
|
|
<aside
|
|
style="transform: translateX(680px) translateY(478px);"
|
|
>
|
|
<div>
|
|
content 1
|
|
</div>
|
|
<div>
|
|
content 2
|
|
<br />
|
|
content 2.2
|
|
</div>
|
|
</aside>
|
|
</div>
|
|
`;
|
|
|
|
exports[`PictureInPictureDragger when rendering the dragger with PiP content 1 and rendering PiP content 2 should update the PiP content 1`] = `
|
|
<div>
|
|
<aside
|
|
style="transform: translateX(680px) translateY(478px);"
|
|
>
|
|
<div>
|
|
content 2
|
|
<br />
|
|
content 2.2
|
|
</div>
|
|
</aside>
|
|
</div>
|
|
`;
|
|
|
|
exports[`PictureInPictureDragger when rendering the dragger with PiP content 1 and rerendering PiP content 1 should not change the PiP content: pip-content-1 1`] = `
|
|
<div>
|
|
<aside
|
|
style="transform: translateX(680px) translateY(478px);"
|
|
>
|
|
<div>
|
|
content 1
|
|
</div>
|
|
</aside>
|
|
</div>
|
|
`;
|
|
|
|
exports[`PictureInPictureDragger when rendering the dragger with PiP content 1 should render the PiP content: pip-content-1 1`] = `
|
|
<div>
|
|
<aside
|
|
style="transform: translateX(680px) translateY(478px);"
|
|
>
|
|
<div>
|
|
content 1
|
|
</div>
|
|
</aside>
|
|
</div>
|
|
`;
|