Fix color of close button in call settings

Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
automated-signal 2021-10-27 17:24:15 -07:00 committed by GitHub
parent 63088edf45
commit bcb9bb3d21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 9 deletions

View File

@ -7941,13 +7941,13 @@ button.module-image__border-overlay:focus {
.module-calling-device-selection__close-button {
@include button-reset;
@include color-svg('../images/x-shadow-16.svg', $color-white);
@include color-svg('../images/icons/v2/x-24.svg', $color-gray-15);
height: 16px;
height: 24px;
position: absolute;
right: 5px;
top: 0;
width: 16px;
width: 24px;
z-index: 2;
@include keyboard-mode {

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 { SpringValues, animated } from '@react-spring/web';
@ -74,13 +73,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}