Skip to content

Commit 3ca6eb5

Browse files
skjnldsvnextcloud-command
authored andcommitted
fix(core): app menu notification should be in the top right
Signed-off-by: skjnldsv <[email protected]> Signed-off-by: nextcloud-command <[email protected]>
1 parent c52b7e5 commit 3ca6eb5

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

core/src/components/AppMenuIcon.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,9 @@ $unread-indicator-size: 10px;
5656
&__unread {
5757
color: var(--color-error);
5858
position: absolute;
59-
inset-block-end: calc($unread-indicator-size / -2.5);
60-
inset-inline-end: calc($unread-indicator-size / -2.5);
59+
// Align the dot to the top right corner of the icon
60+
inset-block-end: calc($icon-size + ($unread-indicator-size / -2));
61+
inset-inline-end: calc($unread-indicator-size / -2);
6162
transition: all 0.1s ease-in-out;
6263
}
6364
}

dist/core-main.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/core-main.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)