actions button position fix

This commit is contained in:
2026-03-10 22:41:34 -03:00
parent e0ac23a8e0
commit c24dae9694

View File

@@ -18,6 +18,23 @@
display: block !important; display: block !important;
} }
} }
@media (max-width: 768px) {
.table td, .table th {
padding: 0.5rem 0.25rem;
font-size: 0.85rem;
}
.btn-sm span {
display: none;
}
}
.table th:last-child,
.table td:last-child {
width: 1%;
white-space: nowrap;
}
</style> </style>
{% endblock %} {% endblock %}
@@ -101,7 +118,7 @@
<th>Fecha y Hora</th> <th>Fecha y Hora</th>
<th>Método</th> <th>Método</th>
<th>Total</th> <th>Total</th>
<th>Acciones</th> <th class="text-nowrap" style="width: 1%;">Acciones</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@@ -111,10 +128,10 @@
<td class="utc-date">{{ s[1] }}</td> <td class="utc-date">{{ s[1] }}</td>
<td class="text-capitalize">{{ s[3] }}</td> <td class="text-capitalize">{{ s[3] }}</td>
<td class="price-cell fw-bold" data-value="{{ s[2] }}"></td> <td class="price-cell fw-bold" data-value="{{ s[2] }}"></td>
<td> <td class="text-nowrap">
<button class="btn btn-sm btn-outline-secondary" <button class="btn btn-sm btn-outline-secondary py-0 px-2"
onclick="viewSale({{ s[0] }}, '{{ s[1] }}', {{ s[2] }})"> onclick="viewSale({{ s[0] }}, '{{ s[1] }}', {{ s[2] }})">
<i class="bi bi-eye"></i> Ver Detalle <i class="bi bi-eye"></i> <span class="d-none d-lg-inline">Ver Detalle</span>
</button> </button>
</td> </td>
</tr> </tr>