fix: Add table wrapper for horizontal scroll - show Odrzuć button

This commit is contained in:
Maciej Pienczyn 2026-01-11 15:52:34 +01:00
parent 26e6658e6d
commit bf7cb6a76b

View File

@ -45,12 +45,16 @@
color: white;
}
.news-table {
width: 100%;
.news-table-wrapper {
overflow-x: auto;
background: var(--surface);
border-radius: var(--radius-lg);
box-shadow: var(--shadow);
overflow: hidden;
}
.news-table {
width: 100%;
min-width: 900px;
}
.news-table th,
@ -290,6 +294,7 @@
</div>
{% if news_items %}
<div class="news-table-wrapper">
<table class="news-table">
<thead>
<tr>
@ -361,6 +366,7 @@
{% endfor %}
</tbody>
</table>
</div>
{% if total_pages > 1 %}
<nav class="pagination">