Skip to content

Commit

Permalink
Fix alignment of loading spinner in avatar menu
Browse files Browse the repository at this point in the history
Adjusts position of loading spinner to be the same as the three dots
icon.
This also indirectly fixes the location where the menu will appear which
was shifted before this fix.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
  • Loading branch information
PVince81 authored and backportbot[bot] committed Jun 4, 2021
1 parent 93a7918 commit 6945a3d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/Avatar/Avatar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -624,10 +624,9 @@ export default {
top: 0;
left: 0;
}
.icon-more {
.icon-more, .icon-loading {
display: flex;
cursor: pointer;
opacity: 0;
background: none;
font-size: 18px;
align-items: center;
Expand All @@ -638,6 +637,9 @@ export default {
display: block;
}
}
.icon-more {
opacity: 0;
}
&:focus,
&:hover {
.icon-more {
Expand Down

0 comments on commit 6945a3d

Please sign in to comment.