Skip to content

Commit 29661b0

Browse files
authored
Merge pull request #46930 from nextcloud/fix/app-menu-not-dot-pos
2 parents c52b7e5 + 3ca6eb5 commit 29661b0

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

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)