mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-01 11:37:58 +00:00
* feat: Adds helper text for custom fields in contact sidebars * Update app/javascript/dashboard/components/ui/HelperTextPopup.vue Co-authored-by: Shivam Mishra <scm.mymail@gmail.com> * chore: Review fix --------- Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
25 lines
635 B
Vue
25 lines
635 B
Vue
<script setup>
|
|
defineProps({
|
|
message: {
|
|
type: String,
|
|
default: '',
|
|
},
|
|
});
|
|
</script>
|
|
<template>
|
|
<div class="relative group w-[inherit] whitespace-normal z-20">
|
|
<fluent-icon
|
|
icon="info"
|
|
size="14"
|
|
class="mt-0.5 text-slate-600 absolute dark:text-slate-400"
|
|
/>
|
|
<div
|
|
class="bg-white dark:bg-slate-900 w-fit ltr:left-4 rtl:right-4 top-0 border p-2.5 group-hover:flex items-center hidden absolute border-slate-75 dark:border-slate-800 rounded-lg shadow-md"
|
|
>
|
|
<p class="text-slate-800 dark:text-slate-75 mb-0 text-xs">
|
|
{{ message }}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</template>
|