simples woka icon styling

This commit is contained in:
Hanusiak Piotr 2021-12-07 15:21:54 +01:00
parent 731f616cce
commit cbe595e7b6
3 changed files with 19 additions and 3 deletions

View file

@ -29,8 +29,8 @@
<div class="rtc-error" />
{/if}
{#if !$constraintStore || $constraintStore.video === false}
<i style="background-color: {getColorByString(name)};">
<Woka userId={peer.userId} placeholderSrc={""} />
<i class="container" style="background-color: {getColorByString(name)};">
<div class="woka-icon"><Woka userId={peer.userId} placeholderSrc={""} /></div>
</i>
{/if}
{#if $constraintStore && $constraintStore.audio === false}
@ -47,3 +47,15 @@
<SoundMeterWidget stream={$streamStore} />
{/if}
</div>
<style>
.container {
display: flex;
justify-content: center;
align-items: center;
}
.woka-icon {
margin-right: 3px;
}
</style>