From b92e0c7c6b1c223e7e4a20c5e66b77773097d38b Mon Sep 17 00:00:00 2001 From: skjnldsv Date: Wed, 31 Jul 2024 17:19:25 +0200 Subject: fix(core): do not show unread notification on app menu hover Signed-off-by: skjnldsv Signed-off-by: nextcloud-command --- core/src/components/AppMenuEntry.vue | 4 ++++ core/src/components/AppMenuIcon.vue | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'core/src') diff --git a/core/src/components/AppMenuEntry.vue b/core/src/components/AppMenuEntry.vue index a16962ca0ef..aada0c63930 100644 --- a/core/src/components/AppMenuEntry.vue +++ b/core/src/components/AppMenuEntry.vue @@ -129,5 +129,9 @@ defineProps<{ .app-menu-entry--active::before { opacity: 0; } + + .app-menu-icon__unread { + opacity: 0; + } } diff --git a/core/src/components/AppMenuIcon.vue b/core/src/components/AppMenuIcon.vue index bdf14cdd0d7..ced3bf8eed3 100644 --- a/core/src/components/AppMenuIcon.vue +++ b/core/src/components/AppMenuIcon.vue @@ -8,7 +8,7 @@ role="img" :aria-hidden="ariaHidden" :aria-label="ariaLabel"> - + @@ -58,6 +58,7 @@ $unread-indicator-size: 10px; position: absolute; inset-block-end: calc($unread-indicator-size / -2.5); inset-inline-end: calc($unread-indicator-size / -2.5); + transition: all 0.1s ease-in-out; } } -- cgit v1.2.3