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>
This commit is contained in:
skjnldsv 2024-07-31 17:19:25 +02:00 committed by nextcloud-command
parent 937bb4a539
commit b92e0c7c6b
4 changed files with 9 additions and 4 deletions

View file

@ -129,5 +129,9 @@ defineProps<{
.app-menu-entry--active::before {
opacity: 0;
}
.app-menu-icon__unread {
opacity: 0;
}
}
</style>

View file

@ -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>

4
dist/core-main.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long