Fix video autoclose (#6843)

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
Kristina
2024-10-09 09:46:31 +05:00
committed by GitHub
parent 4f213c48d4
commit 1107328443
5 changed files with 31 additions and 8 deletions
@@ -14,7 +14,7 @@
-->
<script lang="ts">
export let count: number = 0
export let kind: 'primary' | 'simple' = 'primary'
export let kind: 'primary' | 'simple' | 'with-dot' = 'primary'
export let size: 'xx-small' | 'x-small' | 'small' | 'medium' = 'small'
const maxNumber = 9
@@ -34,6 +34,10 @@
<div class="notifyMarker {size} {kind}" />
{/if}
{#if kind === 'with-dot'}
<div class="notifyMarker {size} {kind}"></div>
{/if}
<style lang="scss">
.notifyMarker {
display: flex;
@@ -44,6 +48,7 @@
font-weight: 700;
&.simple,
&.with-dot,
&.primary {
background-color: var(--global-higlight-Color);
color: var(--global-on-accent-TextColor);
@@ -70,5 +75,10 @@
height: 1.25rem;
font-size: 0.625rem;
}
&.with-dot {
font-weight: 400;
font-size: 0.25rem;
}
}
</style>