Update style of microphone (#1352)

- Active microphone close when user haven't microphone in the discussion
This commit is contained in:
grégoire parant 2021-08-10 10:12:31 +02:00 committed by GitHub
parent dbe7dc4ce0
commit 1db2e2aba9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -31,7 +31,7 @@
<i style="background-color: {getColorByString(name)};">{name}</i>
{/if}
{#if $constraintStore && $constraintStore.audio === false}
<img src={microphoneCloseImg} alt="Muted">
<img src={microphoneCloseImg} class="active" alt="Muted">
{/if}
<button class="report" on:click={() => openReport(peer)}>
<img alt="Report this user" src={reportImg}>

View File

@ -73,6 +73,10 @@ body .message-info.warning{
bottom: 5px;
padding: 10px;
z-index: 2;
&.active {
display: block !important;
}
}
img.block-logo {