Add `hover` on button tooltips
See https://gitlab.com/gitlab-org/gitlab-ui/issues/89
This commit is contained in:
parent
0642404b08
commit
f252156784
|
@ -1,7 +1,6 @@
|
||||||
<script>
|
<script>
|
||||||
import Icon from '~/vue_shared/components/icon.vue';
|
import Icon from '~/vue_shared/components/icon.vue';
|
||||||
import Tooltip from '~/vue_shared/directives/tooltip';
|
import { GlLoadingIcon, GlTooltipDirective } from '@gitlab/ui';
|
||||||
import { GlLoadingIcon, GlTooltipDirective } from '@gitlab-org/gitlab-ui';
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'Badge',
|
name: 'Badge',
|
||||||
|
@ -92,7 +91,7 @@ export default {
|
||||||
|
|
||||||
<button
|
<button
|
||||||
v-show="hasError"
|
v-show="hasError"
|
||||||
v-gl-tooltip
|
v-gl-tooltip.hover
|
||||||
:title="s__('Badges|Reload badge image')"
|
:title="s__('Badges|Reload badge image')"
|
||||||
class="btn btn-transparent btn-sm text-primary"
|
class="btn btn-transparent btn-sm text-primary"
|
||||||
type="button"
|
type="button"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<script>
|
<script>
|
||||||
import { mapActions, mapGetters, mapState } from 'vuex';
|
import { mapActions, mapGetters, mapState } from 'vuex';
|
||||||
import { GlTooltipDirective } from '@gitlab-org/gitlab-ui';
|
import { GlTooltipDirective } from '@gitlab/ui';
|
||||||
import { __ } from '~/locale';
|
import { __ } from '~/locale';
|
||||||
import { getParameterValues, mergeUrlParams } from '~/lib/utils/url_utility';
|
import { getParameterValues, mergeUrlParams } from '~/lib/utils/url_utility';
|
||||||
import Icon from '~/vue_shared/components/icon.vue';
|
import Icon from '~/vue_shared/components/icon.vue';
|
||||||
|
@ -75,7 +75,7 @@ export default {
|
||||||
<div class="mr-version-controls">
|
<div class="mr-version-controls">
|
||||||
<div class="mr-version-menus-container content-block">
|
<div class="mr-version-menus-container content-block">
|
||||||
<button
|
<button
|
||||||
v-gl-tooltip
|
v-gl-tooltip.hover
|
||||||
type="button"
|
type="button"
|
||||||
class="btn btn-default append-right-8 js-toggle-tree-list"
|
class="btn btn-default append-right-8 js-toggle-tree-list"
|
||||||
:class="{
|
:class="{
|
||||||
|
|
|
@ -171,7 +171,6 @@ export default {
|
||||||
v-gl-tooltip
|
v-gl-tooltip
|
||||||
:title="diffFile.new_path"
|
:title="diffFile.new_path"
|
||||||
class="file-title-name"
|
class="file-title-name"
|
||||||
|
|
||||||
v-html="diffFile.new_path_html"
|
v-html="diffFile.new_path_html"
|
||||||
></strong>
|
></strong>
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in New Issue