From 6242f371114ad691041676613845754d110143a0 Mon Sep 17 00:00:00 2001 From: ShittyKopper Date: Tue, 26 Dec 2023 21:40:49 +0300 Subject: [PATCH] Partial Revert "fix: fix: notification count position" Firefox now implements :has. There is no reason for this workaround This partially reverts commit 4f0bc185af86096c1337d35119e6444253b69682. --- packages/frontend/src/ui/_common_/navbar.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/frontend/src/ui/_common_/navbar.vue b/packages/frontend/src/ui/_common_/navbar.vue index 184d32edd..20d456477 100644 --- a/packages/frontend/src/ui/_common_/navbar.vue +++ b/packages/frontend/src/ui/_common_/navbar.vue @@ -29,7 +29,7 @@ SPDX-License-Identifier: AGPL-3.0-only v-on="navbarItemDef[item].action ? { click: navbarItemDef[item].action } : {}" > {{ navbarItemDef[item].title }} - + {{ navbarItemDef[item].indicateValue }} @@ -315,7 +315,7 @@ function more(ev: MouseEvent) { font-size: 8px; animation: blink 1s infinite; - &.hasItemIndicateValueIcon { + &:has(.itemIndicateValueIcon) { animation: none; left: auto; right: 40px;