aboutsummaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorskjnldsv <skjnldsv@protonmail.com>2024-07-31 17:19:25 +0200
committernextcloud-command <nextcloud-command@users.noreply.github.com>2024-07-31 15:30:05 +0000
commitb92e0c7c6b1c223e7e4a20c5e66b77773097d38b (patch)
treea4322e35d995f20cf07c39f3ec18e5a89307ee12 /core/src
parent937bb4a539512eba51dbff6475260ddb3ae35cd1 (diff)
downloadnextcloud-server-b92e0c7c6b1c223e7e4a20c5e66b77773097d38b.tar.gz
nextcloud-server-b92e0c7c6b1c223e7e4a20c5e66b77773097d38b.zip
fix(core): do not show unread notification on app menu hover
Signed-off-by: skjnldsv <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'core/src')
-rw-r--r--core/src/components/AppMenuEntry.vue4
-rw-r--r--core/src/components/AppMenuIcon.vue3
2 files changed, 6 insertions, 1 deletions
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;
+ }
}
</style>
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">
- <img class="app-menu-icon__icon" :src="app.icon">
+ <img class="app-menu-icon__icon" :src="app.icon" alt="">
<IconDot v-if="app.unread" class="app-menu-icon__unread" :size="10" />
</span>
</template>
@@ -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;
}
}
</style>