diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2017-08-03 17:37:27 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2017-08-03 17:45:25 +0300 |
commit | 21b820c4ec4db61a20586af6aa7fb69f50d7e3ac (patch) | |
tree | 21dcf0779e65bf44510857259532d44fcd0d29c0 /app/assets | |
parent | 8e8f27f7c3e68334d8a7b78c9fd6a355b768a18f (diff) |
Remove the new file and new folder buttons
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/repo/components/repo_file_options.vue | 14 | ||||
-rw-r--r-- | app/assets/stylesheets/pages/repo.scss | 26 |
2 files changed, 1 insertions, 39 deletions
diff --git a/app/assets/javascripts/repo/components/repo_file_options.vue b/app/assets/javascripts/repo/components/repo_file_options.vue index 322f4c23dd8..ba53ce0eecc 100644 --- a/app/assets/javascripts/repo/components/repo_file_options.vue +++ b/app/assets/javascripts/repo/components/repo_file_options.vue @@ -20,20 +20,6 @@ export default RepoFileOptions; <tr v-if="isMini" class="repo-file-options"> <td> <span class="title">{{projectName}}</span> - - <ul> - <li> - <a href="#" title="New File"> - <i class="fa fa-file-o"></i> - </a> - </li> - - <li> - <a href="#" title="New Folder"> - <i class="fa fa-folder-o"></i> - </a> - </li> - </ul> </td> </tr> </template> diff --git a/app/assets/stylesheets/pages/repo.scss b/app/assets/stylesheets/pages/repo.scss index 19d010c430b..56c178602ea 100644 --- a/app/assets/stylesheets/pages/repo.scss +++ b/app/assets/stylesheets/pages/repo.scss @@ -223,20 +223,9 @@ padding: 0; border-top: none; background: $gray-light; - width: 190px; + width: 100%; display: inline-block; - &:hover { - .title { - width: 105px; - } - - ul { - display: inline-block; - } - - } - .title { display: inline-block; font-size: 10px; @@ -250,19 +239,6 @@ vertical-align: middle; padding: 2px 16px; } - - ul { - display: none; - float: right; - margin: 0 10px 0 0; - padding: 1px 0; - - li { - display: inline-block; - padding: 0 2px; - border-bottom: none; - } - } } .fa { |