Adjust for sidebar
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
5608e92885
commit
97b976b171
3 changed files with 53 additions and 73 deletions
|
@ -38,7 +38,7 @@ interface IProps {
|
|||
// due to a change in video metadata
|
||||
onResize?: (e: Event) => void,
|
||||
|
||||
className: string,
|
||||
primary: boolean,
|
||||
}
|
||||
|
||||
interface IState {
|
||||
|
@ -123,8 +123,8 @@ export default class VideoFeed extends React.Component<IProps, IState> {
|
|||
render() {
|
||||
const videoClasses = {
|
||||
mx_VideoFeed: true,
|
||||
mx_VideoFeed_nonPrimary: this.props.className !== "mx_VideoFeed_primary",
|
||||
[this.props.className]: true,
|
||||
mx_VideoFeed_primary: this.props.primary,
|
||||
mx_VideoFeed_secondary: !this.props.primary,
|
||||
mx_VideoFeed_voice: this.state.videoMuted,
|
||||
mx_VideoFeed_video: !this.state.videoMuted,
|
||||
mx_VideoFeed_mirror: (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue