Fix: заголовки и строки таблиц списков документов в одну строку (nowrap)

Made-with: Cursor
This commit is contained in:
2026-02-26 16:47:58 +00:00
parent 29cf44e278
commit daf93d81b9
7 changed files with 21 additions and 5 deletions

View File

@@ -216,6 +216,12 @@ body {
border-bottom: 1px solid var(--ws-border);
}
/* Списки документов: заголовки и строки в одну строку без переноса */
.ws-table.ws-table-list-nowrap th,
.ws-table.ws-table-list-nowrap td {
white-space: nowrap;
}
.ws-table th {
background: var(--ws-bg-elevated);
font-weight: 500;

View File

@@ -8,7 +8,7 @@
<a href="{% url 'documents:cash_expense_create' %}" class="btn btn-ws-primary">Создать</a>
</div>
<div class="ws-table-wrap">
<table class="ws-table">
<table class="ws-table ws-table-list-nowrap">
<thead>
<tr>
<th>Дата</th>

View File

@@ -8,7 +8,7 @@
<a href="{% url 'documents:cash_inflow_create' %}" class="btn btn-ws-primary">Создать</a>
</div>
<div class="ws-table-wrap">
<table class="ws-table">
<table class="ws-table ws-table-list-nowrap">
<thead>
<tr>
<th>Дата</th>

View File

@@ -8,7 +8,7 @@
<a href="{% url 'documents:cash_transfer_create' %}" class="btn btn-ws-primary">Создать</a>
</div>
<div class="ws-table-wrap">
<table class="ws-table">
<table class="ws-table ws-table-list-nowrap">
<thead>
<tr>
<th>Дата</th>

View File

@@ -8,7 +8,7 @@
<a href="{% url 'documents:customer_order_create' %}" class="btn btn-ws-primary">Создать заказ</a>
</div>
<div class="ws-table-wrap">
<table class="ws-table">
<table class="ws-table ws-table-list-nowrap">
<thead>
<tr>
<th>Дата</th>

View File

@@ -8,7 +8,7 @@
<a href="{% url 'documents:supplier_order_create' %}" class="btn btn-ws-primary">Создать заказ</a>
</div>
<div class="ws-table-wrap">
<table class="ws-table">
<table class="ws-table ws-table-list-nowrap">
<thead>
<tr>
<th>Дата</th>