From afdd34058696452fe42ddc0b624497c0f8945fba Mon Sep 17 00:00:00 2001 From: Nikolay Yurchenko Date: Thu, 17 Oct 2019 15:25:18 +0300 Subject: [PATCH] name removed from header (#3209) --- .../src/components/header/AccountButton.vue | 13 +++---------- .../static/images/account/BlackArrowExpand.svg | 3 +++ .../static/images/account/BlackArrowHide.svg | 3 +++ 3 files changed, 9 insertions(+), 10 deletions(-) create mode 100644 web/satellite/static/images/account/BlackArrowExpand.svg create mode 100644 web/satellite/static/images/account/BlackArrowHide.svg diff --git a/web/satellite/src/components/header/AccountButton.vue b/web/satellite/src/components/header/AccountButton.vue index dc3814ff7..4b0f718c2 100644 --- a/web/satellite/src/components/header/AccountButton.vue +++ b/web/satellite/src/components/header/AccountButton.vue @@ -10,10 +10,9 @@

{{avatarLetter}}

-

{{userName}}

- Arrow down (expand) - Arrow up (hide) + Arrow down (expand) + Arrow up (hide)
@@ -41,10 +40,6 @@ export default class AccountButton extends Vue { return this.$store.getters.userName.slice(0, 1).toUpperCase(); } - public get userName(): string { - return this.$store.getters.userName; - } - public get isDropdownShown(): boolean { return this.$store.state.appStateModule.appState.isAccountDropdownShown; } @@ -100,12 +95,10 @@ export default class AccountButton extends Vue { } &__expander-area { - margin-left: 12px; + margin-left: 9px; display: flex; align-items: center; justify-content: center; - width: 28px; - height: 28px; } } diff --git a/web/satellite/static/images/account/BlackArrowExpand.svg b/web/satellite/static/images/account/BlackArrowExpand.svg new file mode 100644 index 000000000..40d2c124d --- /dev/null +++ b/web/satellite/static/images/account/BlackArrowExpand.svg @@ -0,0 +1,3 @@ + + + diff --git a/web/satellite/static/images/account/BlackArrowHide.svg b/web/satellite/static/images/account/BlackArrowHide.svg new file mode 100644 index 000000000..ff733b184 --- /dev/null +++ b/web/satellite/static/images/account/BlackArrowHide.svg @@ -0,0 +1,3 @@ + + +