From 5a1fd3fcf1cb169cc681fe0decf9838d043566a1 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Tue, 28 Jan 2020 14:53:01 +0100 Subject: [PATCH] Fix avatar loading spinner size Refactored avatar component logic to be located only in Phoenix core. Moved spinner into the avatar component. Adjusted spinner size to match the one of the avatar to avoid layout shifting. --- .../Collaborators/AutocompleteItem.vue | 9 ++--- .../components/Collaborators/Collaborator.vue | 14 +------ apps/files/src/store/actions.js | 1 - src/components/Avatar.vue | 39 +++++++++++-------- src/components/UserMenu.vue | 4 -- src/phoenix.js | 3 ++ 6 files changed, 30 insertions(+), 40 deletions(-) diff --git a/apps/files/src/components/Collaborators/AutocompleteItem.vue b/apps/files/src/components/Collaborators/AutocompleteItem.vue index 2dd6ed1c76f..bc3a18a4104 100644 --- a/apps/files/src/components/Collaborators/AutocompleteItem.vue +++ b/apps/files/src/components/Collaborators/AutocompleteItem.vue @@ -1,12 +1,9 @@