Skip to content

Commit 34c4815

Browse files
authored
table: Contacts column font change and made clickable (#2008)
1 parent 58c6bb5 commit 34c4815

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

frontend/src/components/Mining/Table/MiningTable.vue

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -239,20 +239,22 @@
239239
image-class="size-12 rounded-full"
240240
@click="openContactInformation(data)"
241241
/>
242-
<div class="truncate">
242+
<div class="truncate font-medium">
243243
<div
244244
v-if="data.name && visibleColumns.includes('name')"
245-
class="font-medium truncate"
245+
class="truncate w-min cursor-pointer"
246+
@click="openContactInformation(data)"
246247
>
247248
{{ data.name }}
248249
</div>
249250
<div
250-
class="truncate"
251-
:class="
252-
!data.name && visibleColumns.includes('name')
253-
? 'font-medium'
254-
: ''
255-
"
251+
class="truncate cursor-pointer"
252+
:class="{
253+
'font-light': !(
254+
!data.name && visibleColumns.includes('name')
255+
),
256+
}"
257+
@click="openContactInformation(data)"
256258
>
257259
{{ data.email }}
258260
</div>

0 commit comments

Comments
 (0)