fix(filmstrip) remove border from filmstrip (#10367)

This commit is contained in:
Avram Tudor 2021-11-24 05:26:22 +02:00 committed by GitHub
parent 04b085e062
commit 42e62e013d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -547,6 +547,7 @@ class Thumbnail extends Component<Props, State> {
const { canPlayEventReceived } = this.state;
const {
_currentLayout,
_height,
_isHidden,
_isScreenSharing,
@ -556,6 +557,8 @@ class Thumbnail extends Component<Props, State> {
style
} = this.props;
const tileViewActive = _currentLayout === LAYOUTS.TILE_VIEW;
let styles: {
avatar: Object,
thumbnail: Object,
@ -578,7 +581,7 @@ class Thumbnail extends Component<Props, State> {
if (!_isScreenSharing) {
if (canPlayEventReceived || _participant.local) {
videoStyles = {
objectFit: _height > 320 ? 'cover' : 'contain'
objectFit: _height < 320 && tileViewActive ? 'contain' : 'cover'
};
} else {
videoStyles = {