diff options
author | Jacob Schatz <jschatz1@gmail.com> | 2017-08-06 18:49:58 +0300 |
---|---|---|
committer | Jacob Schatz <jschatz1@gmail.com> | 2017-08-06 18:49:58 +0300 |
commit | b8d9b2a299a1381eff24b8e326e618d898547041 (patch) | |
tree | 7097dc33a25d3d9b4b3fe97bddb695372be14a5a /app/assets/javascripts | |
parent | 33c058e3d7e6bc426dd06e885d64a73d162b2998 (diff) |
Remove editable border because it doesn't look right anymore.
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r-- | app/assets/javascripts/repo/components/repo_file_buttons.vue | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/app/assets/javascripts/repo/components/repo_file_buttons.vue b/app/assets/javascripts/repo/components/repo_file_buttons.vue index 90e7fead9b7..9193784dce7 100644 --- a/app/assets/javascripts/repo/components/repo_file_buttons.vue +++ b/app/assets/javascripts/repo/components/repo_file_buttons.vue @@ -14,10 +14,6 @@ const RepoFileButtons = { return this.binary ? 'Download' : 'Raw'; }, - editableBorder() { - return this.editMode ? '1px solid rgb(31, 120, 209)' : '1px solid rgb(240,240,240)'; - }, - canPreview() { return Helper.isKindaBinary(); }, @@ -32,7 +28,7 @@ export default RepoFileButtons; </script> <template> -<div id="repo-file-buttons" v-if="isMini" :style="{'border-bottom': editableBorder}"> +<div id="repo-file-buttons" v-if="isMini"> <a :href="activeFile.raw_path" target="_blank" class="btn btn-default raw">{{rawDownloadButtonLabel}}</a> <div class="btn-group" role="group" aria-label="File actions"> |