aboutsummaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorskjnldsv <skjnldsv@protonmail.com>2024-07-31 18:22:57 +0200
committernextcloud-command <nextcloud-command@users.noreply.github.com>2024-08-01 08:19:17 +0000
commit3ca6eb5098e2a9147695fcf90184e1cbe0391310 (patch)
treee03785c54c856e56ddd44a2fbac1610e29abef79 /core/src
parentc52b7e5ebc6736de2d9991af379e4ed9885aab7b (diff)
downloadnextcloud-server-3ca6eb5098e2a9147695fcf90184e1cbe0391310.tar.gz
nextcloud-server-3ca6eb5098e2a9147695fcf90184e1cbe0391310.zip
fix(core): app menu notification should be in the top right
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/AppMenuIcon.vue5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/src/components/AppMenuIcon.vue b/core/src/components/AppMenuIcon.vue
index ced3bf8eed3..f2cee75e644 100644
--- a/core/src/components/AppMenuIcon.vue
+++ b/core/src/components/AppMenuIcon.vue
@@ -56,8 +56,9 @@ $unread-indicator-size: 10px;
&__unread {
color: var(--color-error);
position: absolute;
- inset-block-end: calc($unread-indicator-size / -2.5);
- inset-inline-end: calc($unread-indicator-size / -2.5);
+ // Align the dot to the top right corner of the icon
+ inset-block-end: calc($icon-size + ($unread-indicator-size / -2));
+ inset-inline-end: calc($unread-indicator-size / -2);
transition: all 0.1s ease-in-out;
}
}