diff options
author | julia.kirschenheuter <julia.kirschenheuter@nextcloud.com> | 2022-12-28 11:32:42 +0100 |
---|---|---|
committer | julia.kirschenheuter <julia.kirschenheuter@nextcloud.com> | 2023-01-11 14:22:47 +0100 |
commit | 087f445499ec5a1d4eae246941f0e155420685fb (patch) | |
tree | 42611b49f2fa81df2830018f939bb526769cbed0 /apps/theming/src | |
parent | 9bddc38f196bdf28142a0cd7afce4505672d8fa2 (diff) | |
download | nextcloud-server-087f445499ec5a1d4eae246941f0e155420685fb.tar.gz nextcloud-server-087f445499ec5a1d4eae246941f0e155420685fb.zip |
Replace custom tooltips with native tooltips
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Diffstat (limited to 'apps/theming/src')
-rw-r--r-- | apps/theming/src/components/BackgroundSettings.vue | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/theming/src/components/BackgroundSettings.vue b/apps/theming/src/components/BackgroundSettings.vue index 97912ae3c9c..3629ece40d2 100644 --- a/apps/theming/src/components/BackgroundSettings.vue +++ b/apps/theming/src/components/BackgroundSettings.vue @@ -63,7 +63,8 @@ <!-- Background set selection --> <button v-for="shippedBackground in shippedBackgrounds" :key="shippedBackground.name" - v-tooltip="shippedBackground.details.attribution" + :title="shippedBackground.details.attribution" + :aria-label="shippedBackground.details.attribution" :class="{ 'icon-loading': loading === shippedBackground.name, 'background--active': backgroundImage === shippedBackground.name }" :data-color-bright="shippedBackground.details.theming === 'dark'" :data-user-theming-background-shipped="shippedBackground.name" @@ -93,7 +94,6 @@ import Check from 'vue-material-design-icons/Check.vue' import Close from 'vue-material-design-icons/Close.vue' import debounce from 'debounce' import NcColorPicker from '@nextcloud/vue/dist/Components/NcColorPicker' -import Tooltip from '@nextcloud/vue/dist/Directives/Tooltip' import Vibrant from 'node-vibrant' import { Palette } from 'node-vibrant/lib/color' import { getFilePickerBuilder } from '@nextcloud/dialogs' @@ -114,9 +114,6 @@ const picker = getFilePickerBuilder(t('theming', 'Select a background from your export default { name: 'BackgroundSettings', - directives: { - Tooltip, - }, components: { Check, |