Simplifie CSS

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-05-08 16:49:47 +02:00
parent 4c9d9dd214
commit 430808ae2e
No known key found for this signature in database
GPG key ID: 9760693FDD98A790
2 changed files with 7 additions and 22 deletions

View file

@ -123,6 +123,7 @@ 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_voice: this.state.videoMuted,
mx_VideoFeed_video: !this.state.videoMuted,