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>

View file

@ -29,6 +29,11 @@
height: var(--theme-height);
margin: 0;
padding: 0;
position: static;
left: 0;
bottom: 0;
right: 0;
top: 0;
image-rendering: pixelated;
}
</style>

View file

@ -62,7 +62,6 @@ body .message-info.warning{
background-color: black;
border-radius: 50%;
text-align: center;
padding-top: 32px;
font-size: 28px;
color: white;
overflow: hidden;