Merge pull request #14212 from ramonlsouza/fix-screenshare-regression
fix: screenshare position regression
This commit is contained in:
commit
8f3b2a7ed8
@ -20,7 +20,7 @@ const MainText = styled.h1`
|
||||
`;
|
||||
|
||||
const ScreenshareVideo = styled.video`
|
||||
${({ unhealthy }) => unhealthy && `
|
||||
${({ unhealthyStream }) => unhealthyStream && `
|
||||
filter: grayscale(50%) opacity(50%);
|
||||
`}
|
||||
`;
|
||||
@ -32,6 +32,9 @@ const ScreenshareContainer = styled.div`
|
||||
height: 100%;
|
||||
|
||||
${({ switched }) => !switched && `
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
`}
|
||||
`;
|
||||
@ -99,4 +102,4 @@ export default {
|
||||
Bounce2,
|
||||
MobileControlsOverlay,
|
||||
HoverToolbar,
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user