fix: Update styles for canned responses modal (#6350)
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
<template>
|
||||
<mention-box :items="items" @mention-select="handleMentionClick" />
|
||||
<mention-box :items="items" @mention-select="handleMentionClick">
|
||||
<template slot-scope="{ item }">
|
||||
<strong>{{ item.label }}</strong> - {{ item.description }}
|
||||
</template>
|
||||
</mention-box>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
<template>
|
||||
<mention-box :items="items" @mention-select="handleVariableClick" />
|
||||
<mention-box :items="items" @mention-select="handleVariableClick">
|
||||
<template slot-scope="{ item }">
|
||||
<span class="text-capitalize variable--list-label">
|
||||
{{ item.description }}
|
||||
</span>
|
||||
({{ item.label }})
|
||||
</template>
|
||||
</mention-box>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@@ -35,3 +42,8 @@ export default {
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style scoped>
|
||||
.variable--list-label {
|
||||
font-weight: var(--font-weight-bold);
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
@mouseover="onHover(index)"
|
||||
>
|
||||
<a class="text-truncate">
|
||||
<strong>{{ item.label }}</strong> - {{ item.description }}
|
||||
<slot :item="item" />
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user