summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Slaughter <pslaughter@gitlab.com>2018-06-21 15:38:38 -0500
committerPaul Slaughter <pslaughter@gitlab.com>2018-06-22 14:08:49 -0500
commitda7f23951aa00f3350445e8fdba196a29cb54270 (patch)
tree09ea19f3efd8e5e5bd21edab2792493ff1220c2c
parent5ecc20323f6f5cf1e6cd535a5ffc9923e1b8b71d (diff)
downloadgitlab-ce-46202-webide-file-states.tar.gz
Cleanup multi-file-commit-list-path element in Web IDE46202-webide-file-states
-rw-r--r--app/assets/javascripts/ide/components/commit_sidebar/list_item.vue2
-rw-r--r--app/assets/stylesheets/pages/repo.scss2
2 files changed, 3 insertions, 1 deletions
diff --git a/app/assets/javascripts/ide/components/commit_sidebar/list_item.vue b/app/assets/javascripts/ide/components/commit_sidebar/list_item.vue
index 133b7ee36c8..ee21eeda3cd 100644
--- a/app/assets/javascripts/ide/components/commit_sidebar/list_item.vue
+++ b/app/assets/javascripts/ide/components/commit_sidebar/list_item.vue
@@ -95,8 +95,8 @@ export default {
:class="{
'is-active': isActive
}"
- type="button"
class="multi-file-commit-list-path w-100 border-0 ml-0 mr-0"
+ role="button"
@dblclick="fileAction"
@click="openFileInEditor"
>
diff --git a/app/assets/stylesheets/pages/repo.scss b/app/assets/stylesheets/pages/repo.scss
index 5d44a28307d..a794b8b9558 100644
--- a/app/assets/stylesheets/pages/repo.scss
+++ b/app/assets/stylesheets/pages/repo.scss
@@ -597,6 +597,8 @@
}
.multi-file-commit-list-path {
+ cursor: pointer;
+
&.is-active {
background-color: $white-normal;
}