diff --git a/react/features/base/participants/components/Avatar.native.js b/react/features/base/participants/components/Avatar.native.js index 9daa4f136..dd1a77f08 100644 --- a/react/features/base/participants/components/Avatar.native.js +++ b/react/features/base/participants/components/Avatar.native.js @@ -1,8 +1,6 @@ import React, { Component } from 'react'; import { Image } from 'react-native'; -import { styles } from './styles'; - /** * Display a participant avatar. */ @@ -33,7 +31,7 @@ export default class Avatar extends Component { // XXX Avatar is expected to display the whole image. resizeMode = 'contain' source = {{ uri: this.props.uri }} - style = { [ styles.avatar, this.props.style ] } /> + style = { this.props.style } /> ); } } diff --git a/react/features/base/participants/components/styles.js b/react/features/base/participants/components/styles.js index c2179955b..23df688f3 100644 --- a/react/features/base/participants/components/styles.js +++ b/react/features/base/participants/components/styles.js @@ -4,19 +4,12 @@ import { createStyleSheet } from '../../styles'; * The style of the avatar and participant view UI (components). */ export const styles = createStyleSheet({ - /** - * Avatar style. - */ - avatar: { - flex: 1, - width: '100%' - }, - /** * ParticipantView style. */ participantView: { alignItems: 'stretch', - flex: 1 + flex: 1, + justifyContent: 'center' } }); diff --git a/react/features/filmstrip/components/Thumbnail.js b/react/features/filmstrip/components/Thumbnail.js index 686a3a376..d0a32e82c 100644 --- a/react/features/filmstrip/components/Thumbnail.js +++ b/react/features/filmstrip/components/Thumbnail.js @@ -95,6 +95,7 @@ class Thumbnail extends Component { = { audioTrack.jitsiTrack.getOriginalStream() } /> }