Fix color of close button in call settings

This commit is contained in:
Fedor Indutny 2021-10-27 17:07:13 -07:00 committed by GitHub
parent 6dd67917e8
commit 17c0867e9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 9 deletions

View file

@ -2,7 +2,6 @@
// SPDX-License-Identifier: AGPL-3.0-only
import React, { useEffect } from 'react';
import classNames from 'classnames';
import { createPortal } from 'react-dom';
import FocusTrap from 'focus-trap-react';
import type { SpringValues } from '@react-spring/web';
@ -76,13 +75,10 @@ export const ModalHost = React.memo(
allowOutsideClick: false,
}}
>
<div>
<div className={theme ? themeClassName(theme) : undefined}>
<animated.div
role="presentation"
className={classNames(
'module-modal-host__overlay',
theme ? themeClassName(theme) : undefined
)}
className="module-modal-host__overlay"
onMouseDown={noMouseClose ? undefined : handleMouseDown}
onMouseUp={noMouseClose ? undefined : handleMouseUp}
style={overlayStyles}