При использовании пагинации Django страницы моих таблиц не совпадают с первой страницей
Я использую пагинацию для моей таблицы в Django. На каждой странице отображается 8 строк моей таблицы. Но когда я перехожу на вторую страницу, ее высота и ширина не совпадают. Высота и ширина всех ячеек таблицы меняется. Как я могу это исправить?
Мой html: (простая таблица)
<table class="table" border=1>
<thead>
<tr>
<th>Full Name</th>
<th>Company</th>
<th>Email</th>
<th>Phone Number</th>
<th>Note</th>
<th>ID</th>
</tr>
</thead>
<tbody>
{% for customer in customers %}
<tr>
<td>{{customer.full_name}}</td>
<td>{{customer.company}}</td>
<td>{{customer.email}}</td>
<td>{{customer.phone_number}}</td>
<td>{{customer.note}}</td>
<td>{{customer.id}}</td>
</tr>
{% endfor %}
Мой взгляд
class TableView(ExportMixin, SingleTableView):
model = Customer
table_class = CustomerTable
template_name = 'pages/user_page.html'
context_object_name = 'customers'
paginate_by = 8
Мой Css
.table{
margin-top:60px;
position: fixed; top:250px; left:100px; bottom:250px; right:100px;
width:900px;
margin-left: 230px;
}