From d34581b5f74770694851bbb23852f8d575ae8fe6 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Sat, 12 Oct 2019 19:23:32 +0200 Subject: [PATCH] Improve avatar picker Signed-off-by: Thomas Citharel --- js/src/components/NavBar.vue | 2 ++ js/src/components/PictureUpload.vue | 31 ++++++++++++++++++++++------- js/src/i18n/en_US.json | 2 ++ js/src/i18n/fr_FR.json | 2 ++ js/src/views/Event/Edit.vue | 2 +- 5 files changed, 31 insertions(+), 8 deletions(-) diff --git a/js/src/components/NavBar.vue b/js/src/components/NavBar.vue index 67f1fb2c6..07be3fc36 100644 --- a/js/src/components/NavBar.vue +++ b/js/src/components/NavBar.vue @@ -187,6 +187,8 @@ nav { .navbar-item.has-dropdown a.navbar-link figure { margin-right: 0.75rem; + display: flex; + align-items: center; } a.navbar-item:focus-within { diff --git a/js/src/components/PictureUpload.vue b/js/src/components/PictureUpload.vue index da1ed36e4..74bcfa7f7 100644 --- a/js/src/components/PictureUpload.vue +++ b/js/src/components/PictureUpload.vue @@ -1,11 +1,15 @@ -