From 3c6dc87ea8d0a467642da2ac4fc0037ff220af89 Mon Sep 17 00:00:00 2001 From: Justin Boyson Date: Sat, 1 Jun 2019 02:12:45 +0000 Subject: Make tooltips consistently render on top On edit-button simply set position to top. Made this change directly in template since edit-button is only used in one place. Had to wrap the comments toggle button in span tag to make tooltip show even when disabled as per bootstrap-vue docs. https://bootstrap-vue.js.org/docs/components/tooltip#overview Note: Also changexc button to gl-buttonto be consistent with rest of file. --- .../diffs/components/diff_file_header.vue | 21 +++++++++++---------- .../javascripts/diffs/components/edit_button.vue | 2 +- changelogs/unreleased/61821-tooltip-consistency.yml | 5 +++++ 3 files changed, 17 insertions(+), 11 deletions(-) create mode 100644 changelogs/unreleased/61821-tooltip-consistency.yml diff --git a/app/assets/javascripts/diffs/components/diff_file_header.vue b/app/assets/javascripts/diffs/components/diff_file_header.vue index d26b58d461a..eb9f1465945 100644 --- a/app/assets/javascripts/diffs/components/diff_file_header.vue +++ b/app/assets/javascripts/diffs/components/diff_file_header.vue @@ -254,16 +254,17 @@ export default {