summaryrefslogtreecommitdiff
path: root/src/components/Global/InfoTooltip.vue
diff options
context:
space:
mode:
authorDixsie Wolmers <dixsie@ibm.com>2020-11-11 01:07:56 +0300
committerYoshie Muranaka <yoshiemuranaka@gmail.com>2020-11-13 18:37:57 +0300
commit30f11f818168c89126777b717ab37829e25e8378 (patch)
tree2bfea87a7f99cc1143df630fda3c908e8c02b6e7 /src/components/Global/InfoTooltip.vue
parent151dd2491c01e70ed69baf638c22624fae598361 (diff)
downloadwebui-vue-30f11f818168c89126777b717ab37829e25e8378.tar.xz
Align button icons
- Fixes button icon and text alignment - App header buttons to be addressed separately - Button documentation will be addressed in separate commit - Aligns form input buttons: datepicker, clear search, and password toggle - Moves title from icon to button for icon only buttons - Aligns validation icon with form input buttons Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ie28d7d7dd7303ab6bf1897d1fa569e1580cc2f9d
Diffstat (limited to 'src/components/Global/InfoTooltip.vue')
-rw-r--r--src/components/Global/InfoTooltip.vue9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/components/Global/InfoTooltip.vue b/src/components/Global/InfoTooltip.vue
index f3cb7f12..5d604503 100644
--- a/src/components/Global/InfoTooltip.vue
+++ b/src/components/Global/InfoTooltip.vue
@@ -1,6 +1,11 @@
<template>
- <b-button v-b-tooltip variant="link" class="btn-tooltip" :title="title">
- <span class="sr-only">{{ $t('global.ariaLabel.tooltip') }}</span>
+ <b-button
+ v-b-tooltip
+ variant="link"
+ class="btn-tooltip btn-icon-only"
+ :title="title"
+ :aria-label="$t('global.ariaLabel.tooltip')"
+ >
<icon-tooltip />
</b-button>
</template>