fix(table): center-align the Сумма column
Both header and value in LeadsTable now use text-center so the column reads as symmetric. Previously the header was overridden to left by .table-base th and the value was right-aligned, producing a visible offset on rows with large amounts (e.g. 80M ₸).
This commit is contained in:
parent
b18413e6f5
commit
b1468eeb42
@ -220,7 +220,7 @@ function exportCsv() {
|
|||||||
<th>Контакт</th>
|
<th>Контакт</th>
|
||||||
<th>Компания</th>
|
<th>Компания</th>
|
||||||
<th>Этап</th>
|
<th>Этап</th>
|
||||||
<th class="text-right">Сумма</th>
|
<th class="!text-center">Сумма</th>
|
||||||
<th>Касание</th>
|
<th>Касание</th>
|
||||||
<th>Тип</th>
|
<th>Тип</th>
|
||||||
<th>Автор</th>
|
<th>Автор</th>
|
||||||
@ -251,7 +251,7 @@ function exportCsv() {
|
|||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
<td
|
<td
|
||||||
class="px-4 py-3 text-right tabular-nums text-gray-700 whitespace-nowrap"
|
class="px-4 py-3 text-center tabular-nums text-gray-700 whitespace-nowrap"
|
||||||
:title="lead.expected_amount !== null ? lead.expected_amount.toLocaleString('ru-RU') + ' ₸' : ''"
|
:title="lead.expected_amount !== null ? lead.expected_amount.toLocaleString('ru-RU') + ' ₸' : ''"
|
||||||
>
|
>
|
||||||
{{ formatMoney(lead.expected_amount) }}
|
{{ formatMoney(lead.expected_amount) }}
|
||||||
|
|||||||
Reference in New Issue
Block a user