Skip to content

Commit 7d78516

Browse files
committed
fix(core): do not show unread notification on app menu hover
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
1 parent d8bdacf commit 7d78516

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

core/src/components/AppMenuEntry.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,5 +129,9 @@ defineProps<{
129129
.app-menu-entry--active::before {
130130
opacity: 0;
131131
}
132+
133+
.app-menu-icon__unread {
134+
opacity: 0;
135+
}
132136
}
133137
</style>

core/src/components/AppMenuIcon.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
role="img"
99
:aria-hidden="ariaHidden"
1010
:aria-label="ariaLabel">
11-
<img class="app-menu-icon__icon" :src="app.icon">
11+
<img class="app-menu-icon__icon" :src="app.icon" alt="">
1212
<IconDot v-if="app.unread" class="app-menu-icon__unread" :size="10" />
1313
</span>
1414
</template>
@@ -58,6 +58,7 @@ $unread-indicator-size: 10px;
5858
position: absolute;
5959
inset-block-end: calc($unread-indicator-size / -2.5);
6060
inset-inline-end: calc($unread-indicator-size / -2.5);
61+
transition: all 0.1s ease-in-out;
6162
}
6263
}
6364
</style>

0 commit comments

Comments
 (0)