From eac07d31692dc573284d13c7d93738d1723dcf13 Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Sun, 13 Feb 2022 21:57:33 +0000 Subject: [PATCH] feat: make profile picture clickable (#1531) Co-authored-by: Dominik Pschenitschni Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1531 Reviewed-by: konrad Co-authored-by: Dominik Pschenitschni Co-committed-by: Dominik Pschenitschni --- cypress/integration/user/logout.spec.js | 2 +- src/App.vue | 4 +- .../{topNavigation.vue => TheNavigation.vue} | 132 +++++++++--------- 3 files changed, 72 insertions(+), 66 deletions(-) rename src/components/home/{topNavigation.vue => TheNavigation.vue} (71%) diff --git a/cypress/integration/user/logout.spec.js b/cypress/integration/user/logout.spec.js index fbbc7088..1a22e21e 100644 --- a/cypress/integration/user/logout.spec.js +++ b/cypress/integration/user/logout.spec.js @@ -6,7 +6,7 @@ describe('Log out', () => { cy.get('.navbar .user .username') .click() - cy.get('.navbar .user .dropdown-menu a.dropdown-item') + cy.get('.navbar .user .dropdown-menu .dropdown-item') .contains('Logout') .click() diff --git a/src/App.vue b/src/App.vue index 5ab3635f..4080a6cc 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,7 +1,7 @@ - @@ -246,6 +251,7 @@ $hamburger-menu-icon-width: 28px; border-radius: 100%; vertical-align: middle; height: 40px; + margin-right: var(--button-padding-horizontal); } :deep(.dropdown-trigger .button) {