fix(virtual-background): Hide scrollbar on loading action.

This commit is contained in:
tudordan7 2021-03-25 14:52:53 +02:00 committed by Saúl Ibarra Corretgé
parent b1d7debfb9
commit 3453e49182
2 changed files with 5 additions and 1 deletions

View File

@ -51,6 +51,10 @@
margin-right: 5px; margin-right: 5px;
} }
} }
.modal-dialog-form .virtual-background-loading {
overflow: hidden;
}
.file-upload-btn { .file-upload-btn {
display: none; display: none;
} }

View File

@ -139,7 +139,7 @@ function VirtualBackground({ dispatch, t }: Props) {
titleKey = { 'virtualBackground.title' } titleKey = { 'virtualBackground.title' }
width = 'small'> width = 'small'>
{loading ? ( {loading ? (
<div> <div className = 'virtual-background-loading'>
<span className = 'loading-content-text'>{t('virtualBackground.pleaseWait')}</span> <span className = 'loading-content-text'>{t('virtualBackground.pleaseWait')}</span>
<Spinner <Spinner
isCompleting = { false } isCompleting = { false }