fix: Agent name not visible in team page in Dark mode (#7730)
Fixes: https://linear.app/chatwoot/issue/CW-2399/agent-name-not-visible-in-team-page
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<div class="checkbox-wrap">
|
<div class="flex items-center">
|
||||||
<input
|
<input
|
||||||
name="select-all-agents"
|
name="select-all-agents"
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
@@ -15,8 +15,12 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td>{{ $t('TEAMS_SETTINGS.AGENTS.AGENT') }}</td>
|
<td class=" text-slate-800 dark:text-slate-100">
|
||||||
<td>{{ $t('TEAMS_SETTINGS.AGENTS.EMAIL') }}</td>
|
{{ $t('TEAMS_SETTINGS.AGENTS.AGENT') }}
|
||||||
|
</td>
|
||||||
|
<td class=" text-slate-800 dark:text-slate-100">
|
||||||
|
{{ $t('TEAMS_SETTINGS.AGENTS.EMAIL') }}
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -25,8 +29,8 @@
|
|||||||
:key="agent.id"
|
:key="agent.id"
|
||||||
:class="agentRowClass(agent.id)"
|
:class="agentRowClass(agent.id)"
|
||||||
>
|
>
|
||||||
<td class="checkbox-cell">
|
<td class="w-12">
|
||||||
<div class="checkbox-wrap">
|
<div class="flex items-center">
|
||||||
<input
|
<input
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
:checked="isAgentSelected(agent.id)"
|
:checked="isAgentSelected(agent.id)"
|
||||||
@@ -35,14 +39,14 @@
|
|||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="user-info-wrap">
|
<div class="flex items-center gap-2">
|
||||||
<thumbnail
|
<thumbnail
|
||||||
:src="agent.thumbnail"
|
:src="agent.thumbnail"
|
||||||
size="24px"
|
size="24px"
|
||||||
:username="agent.name"
|
:username="agent.name"
|
||||||
:status="agent.availability_status"
|
:status="agent.availability_status"
|
||||||
/>
|
/>
|
||||||
<h4 class="sub-block-title user-name">
|
<h4 class="text-base mb-0 text-slate-800 dark:text-slate-100">
|
||||||
{{ agent.name }}
|
{{ agent.name }}
|
||||||
</h4>
|
</h4>
|
||||||
</div>
|
</div>
|
||||||
@@ -53,7 +57,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<div class="add-agents__footer">
|
<div class="flex items-center justify-between">
|
||||||
<p>
|
<p>
|
||||||
{{
|
{{
|
||||||
$t('TEAMS_SETTINGS.AGENTS.SELECTED_COUNT', {
|
$t('TEAMS_SETTINGS.AGENTS.SELECTED_COUNT', {
|
||||||
@@ -141,39 +145,8 @@ export default {
|
|||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped>
|
||||||
.table__meta {
|
input {
|
||||||
display: flex;
|
@apply mb-0;
|
||||||
justify-content: space-between;
|
|
||||||
align-items: center;
|
|
||||||
padding: var(--space-small);
|
|
||||||
}
|
|
||||||
|
|
||||||
.user-info-wrap {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.user-name {
|
|
||||||
margin-bottom: 0;
|
|
||||||
margin-left: var(--space-small);
|
|
||||||
}
|
|
||||||
|
|
||||||
.add-agents__footer {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: space-between;
|
|
||||||
}
|
|
||||||
|
|
||||||
.checkbox-wrap {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
|
|
||||||
input {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.checkbox-cell {
|
|
||||||
width: var(--space-larger);
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="wizard-body w-[75%] flex-shrink-0 flex-grow-0 max-w-[75%]">
|
<div
|
||||||
|
class="wizard-body w-[75%] flex-shrink-0 flex-grow-0 max-w-[75%] overflow-y-auto"
|
||||||
|
>
|
||||||
<form class="mx-0 flex flex-wrap" @submit.prevent="addAgents">
|
<form class="mx-0 flex flex-wrap" @submit.prevent="addAgents">
|
||||||
<div class="w-full">
|
<div class="w-full">
|
||||||
<page-header
|
<page-header
|
||||||
|
|||||||
Reference in New Issue
Block a user