Audio: Better cover visibility (#1489)

This commit is contained in:
Alexander Zinchuk 2021-10-11 19:48:04 +03:00
parent 8be0c590f9
commit 8f3aa5252d
3 changed files with 5 additions and 15 deletions

View File

@ -39,6 +39,10 @@
.toggle-play {
margin-inline-end: .5rem;
&.translucent-white {
color: rgba(255, 255, 255, 0.8);
}
&.smaller {
width: 3rem;
height: 3rem;

View File

@ -317,13 +317,4 @@
.emoji {
vertical-align: -3px;
}
.backdrop {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.5);
}
}

View File

@ -157,12 +157,7 @@ const Button: FC<OwnProps> = ({
<span dir={isRtl ? 'auto' : undefined}>Please wait...</span>
<Spinner color={isText ? 'blue' : 'white'} />
</div>
) : (
<>
{backgroundImage && <div className="backdrop" />}
{children}
</>
)}
) : children }
{!disabled && ripple && (
<RippleEffect />
)}