From aaa7dbb4b6cd1ac7a9a5d4eddcd3ecb23ef870ac Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Thu, 29 Mar 2018 14:52:40 +0100 Subject: [PATCH] fixed alignment with icons fixed icon not showing correctly in tab --- .../ide/components/changed_file_icon.vue | 6 +- .../javascripts/ide/components/repo_tab.vue | 97 ++++++++++--------- app/assets/stylesheets/pages/repo.scss | 2 + 3 files changed, 54 insertions(+), 51 deletions(-) diff --git a/app/assets/javascripts/ide/components/changed_file_icon.vue b/app/assets/javascripts/ide/components/changed_file_icon.vue index 97bd8d48a05..ffa56ee6095 100644 --- a/app/assets/javascripts/ide/components/changed_file_icon.vue +++ b/app/assets/javascripts/ide/components/changed_file_icon.vue @@ -34,11 +34,11 @@ export default { const type = this.file.tempFile ? 'addition' : 'modification'; if (this.file.changed && !this.file.staged) { - return `unstaged ${type}`; + return `Unstaged ${type}`; } else if (!this.file.changed && this.file.staged) { - return `staged ${type}`; + return `Staged ${type}`; } else if (this.file.changed && this.file.staged) { - return `unstaged and staged ${pluralize(type)}`; + return `Unstaged and staged ${pluralize(type)}`; } return undefined; diff --git a/app/assets/javascripts/ide/components/repo_tab.vue b/app/assets/javascripts/ide/components/repo_tab.vue index c337bc813e6..7bb02bb5e26 100644 --- a/app/assets/javascripts/ide/components/repo_tab.vue +++ b/app/assets/javascripts/ide/components/repo_tab.vue @@ -1,60 +1,61 @@