Update style of microphone (#1352)
- Active microphone close when user haven't microphone in the discussion
This commit is contained in:
parent
dbe7dc4ce0
commit
1db2e2aba9
2 changed files with 5 additions and 1 deletions
|
@ -31,7 +31,7 @@
|
||||||
<i style="background-color: {getColorByString(name)};">{name}</i>
|
<i style="background-color: {getColorByString(name)};">{name}</i>
|
||||||
{/if}
|
{/if}
|
||||||
{#if $constraintStore && $constraintStore.audio === false}
|
{#if $constraintStore && $constraintStore.audio === false}
|
||||||
<img src={microphoneCloseImg} alt="Muted">
|
<img src={microphoneCloseImg} class="active" alt="Muted">
|
||||||
{/if}
|
{/if}
|
||||||
<button class="report" on:click={() => openReport(peer)}>
|
<button class="report" on:click={() => openReport(peer)}>
|
||||||
<img alt="Report this user" src={reportImg}>
|
<img alt="Report this user" src={reportImg}>
|
||||||
|
|
|
@ -73,6 +73,10 @@ body .message-info.warning{
|
||||||
bottom: 5px;
|
bottom: 5px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
|
|
||||||
|
&.active {
|
||||||
|
display: block !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
img.block-logo {
|
img.block-logo {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue