From c481e818a5eaf3267c343c35e0945e1e9fbf1198 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 67f1fb2c..07be3fc3 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 da1ed36e..74bcfa7f 100644 --- a/js/src/components/PictureUpload.vue +++ b/js/src/components/PictureUpload.vue @@ -1,11 +1,15 @@ -