summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKushal Pandya <kushal@gitlab.com>2018-01-04 12:32:47 +0530
committerKushal Pandya <kushal@gitlab.com>2018-01-04 12:32:47 +0530
commit703aa9d23229c69c0d5d90869f979d318b17d028 (patch)
tree6f7b6d7fa5a09a676fe8b0f8f7e59f4ca6d9e431
parent9222900b5f528ad38299a7dac2b3fa92bdb858e4 (diff)
downloadgitlab-ce-703aa9d23229c69c0d5d90869f979d318b17d028.tar.gz
Make tooltip placement bottom by default as per design guidelines40533-groups-tree-updates
-rw-r--r--app/assets/javascripts/groups/components/group_item.vue2
-rw-r--r--app/assets/javascripts/groups/components/item_actions.vue2
-rw-r--r--app/assets/javascripts/groups/components/item_stats_value.vue2
3 files changed, 4 insertions, 2 deletions
diff --git a/app/assets/javascripts/groups/components/group_item.vue b/app/assets/javascripts/groups/components/group_item.vue
index 583f14e6885..02129d39846 100644
--- a/app/assets/javascripts/groups/components/group_item.vue
+++ b/app/assets/javascripts/groups/components/group_item.vue
@@ -125,7 +125,7 @@ export default {
:href="group.relativePath"
:title="group.fullName"
class="no-expand"
- data-placement="top"
+ data-placement="bottom"
>{{
// ending bracket must be by closing tag to prevent
// link hover text-decoration from over-extending
diff --git a/app/assets/javascripts/groups/components/item_actions.vue b/app/assets/javascripts/groups/components/item_actions.vue
index d3817cae6dc..a685960d862 100644
--- a/app/assets/javascripts/groups/components/item_actions.vue
+++ b/app/assets/javascripts/groups/components/item_actions.vue
@@ -64,6 +64,7 @@ export default {
:title="editBtnTitle"
:aria-label="editBtnTitle"
data-container="body"
+ data-placement="bottom"
class="edit-group btn no-expand">
<icon name="settings"/>
</a>
@@ -75,6 +76,7 @@ export default {
:title="leaveBtnTitle"
:aria-label="leaveBtnTitle"
data-container="body"
+ data-placement="bottom"
class="leave-group btn no-expand">
<icon name="leave"/>
</a>
diff --git a/app/assets/javascripts/groups/components/item_stats_value.vue b/app/assets/javascripts/groups/components/item_stats_value.vue
index 46402b304c5..f441cabf6d2 100644
--- a/app/assets/javascripts/groups/components/item_stats_value.vue
+++ b/app/assets/javascripts/groups/components/item_stats_value.vue
@@ -21,7 +21,7 @@ export default {
tooltipPlacement: {
type: String,
required: false,
- default: 'top',
+ default: 'bottom',
},
/**
* value could either be number or string