Partial Revert "fix: fix: notification count position"

Firefox now implements :has. There is no reason for this workaround

This partially reverts commit 4f0bc185af.
This commit is contained in:
ShittyKopper 2023-12-26 21:40:49 +03:00
parent aafdcccd24
commit 6242f37111
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ SPDX-License-Identifier: AGPL-3.0-only
v-on="navbarItemDef[item].action ? { click: navbarItemDef[item].action } : {}" v-on="navbarItemDef[item].action ? { click: navbarItemDef[item].action } : {}"
> >
<i class="ti-fw" :class="[$style.itemIcon, navbarItemDef[item].icon]"></i><span :class="$style.itemText">{{ navbarItemDef[item].title }}</span> <i class="ti-fw" :class="[$style.itemIcon, navbarItemDef[item].icon]"></i><span :class="$style.itemText">{{ navbarItemDef[item].title }}</span>
<span v-if="navbarItemDef[item].indicated" :class="[$style.itemIndicator, { [$style.hasItemIndicateValueIcon]: navbarItemDef[item].indicateValue }]"> <span v-if="navbarItemDef[item].indicated" :class="$style.itemIndicator">
<span v-if="navbarItemDef[item].indicateValue" class="_indicateCounter" :class="$style.itemIndicateValueIcon">{{ navbarItemDef[item].indicateValue }}</span> <span v-if="navbarItemDef[item].indicateValue" class="_indicateCounter" :class="$style.itemIndicateValueIcon">{{ navbarItemDef[item].indicateValue }}</span>
<i v-else class="_indicatorCircle"></i> <i v-else class="_indicatorCircle"></i>
</span> </span>
@ -315,7 +315,7 @@ function more(ev: MouseEvent) {
font-size: 8px; font-size: 8px;
animation: blink 1s infinite; animation: blink 1s infinite;
&.hasItemIndicateValueIcon { &:has(.itemIndicateValueIcon) {
animation: none; animation: none;
left: auto; left: auto;
right: 40px; right: 40px;