Some changes to UI and emails are now searchable

This commit is contained in:
Simon Pocrnjič
2025-10-17 21:22:30 +02:00
parent 04f31e62aa
commit 761799bdbe
4 changed files with 85 additions and 28 deletions
@@ -93,6 +93,7 @@ const confirmDeleteAction = () => {
>
<thead>
<tr>
<th></th>
<th>Pogodba</th>
<th>Odločitev</th>
<th>Opomba</th>
@@ -107,6 +108,15 @@ const confirmDeleteAction = () => {
:key="row.id"
class="border-b last:border-b-0"
>
<td class="py-2 decision-dot text-center">
<span
v-if="row.decision?.color_tag"
class="inline-block h-4 w-4 rounded-full ring-1 ring-gray-300 dark:ring-gray-600"
:style="{ backgroundColor: row.decision?.color_tag }"
:title="row.decision?.color_tag"
aria-hidden="true"
></span>
</td>
<td class="py-2 pr-4 align-top">
<template v-if="row.contract?.reference">
{{ row.contract.reference }}
@@ -115,6 +125,7 @@ const confirmDeleteAction = () => {
<span class="text-gray-400"></span>
</template>
</td>
<td class="py-2 pr-4 align-top">
<div class="flex flex-col gap-1">
<span
@@ -257,6 +268,10 @@ const confirmDeleteAction = () => {
vertical-align: top;
padding: 0.625rem 1rem; /* match header horizontal padding */
}
/* Center the decision dot in its column */
.activity-basic-table td.decision-dot {
vertical-align: middle;
}
/* Ensure first column lines up exactly (no extra offset) */
.activity-basic-table th:first-child,
.activity-basic-table td:first-child {
@@ -268,11 +283,11 @@ const confirmDeleteAction = () => {
/* Column sizing hints (optional fine tuning) */
.activity-basic-table th:nth-child(1),
.activity-basic-table td:nth-child(1) {
width: 14%;
width: 6%;
}
.activity-basic-table th:nth-child(2),
.activity-basic-table td:nth-child(2) {
width: 16%;
width: 14%;
}
.activity-basic-table th:nth-child(3),
.activity-basic-table td:nth-child(3) {