In The w3.css style plugin, w3-responsive makes a table scrollable in small screens but the table isn't full width any more in medium or large screens.
I'm looking for a solution to have a table both responsive in small screens and full width in large screens.
The image below show my table in a medium screen. as you see it's right aligned and about one third of screen is empty.
note: the full width border belongs to table not a parent element. so table is full width but it's content not.
Image of generated table:
code of table:
<table id="result" class="w3-table-all w3-hoverable w3-centered w3-card w3-responsive">
<tr>
<th>index</th>
<th>date</th>
<th>product</th>
<th>variable</th>
<th>status</th>
<th>count</th>
<th>stock</th>
<th>user</th>
</tr>
<tr id="37172" class="table-data">
<td>1</td>
<td>2021/09/04</td>
<td>something</td>
<td>yellow</td>
<td>In</td>
<td>5</td>
<td>0</td>
<td>test</td>
</tr>