This commit is contained in:
FrederikBaerentsen 2024-06-19 13:54:43 +02:00
parent 2c0e3f49d0
commit 048331945e
2 changed files with 2 additions and 7 deletions

View File

@ -79,12 +79,7 @@ td {
@media only screen and (max-width: 600px) {
table {
width: auto; /* Expand table to full width on mobile */
table-layout: fixed;
}
/* #data th:nth-child(2),
#data td:nth-child(2) {
width: auto; /* Allow "Name" column to adjust width based on content
} */
.center-table {
overflow-x: auto; /* Enable horizontal scrolling */
}

View File

@ -21,8 +21,8 @@
<td><img src="{{ '/static/parts/' + brick[5] + '.jpg' }}" class="lightbox-trigger" alt="{{ brick[3] }}" style="height: 50px; width: 50px;margin:0;padding: 0;"loading="lazy"></td>
{% endif %}
<td style="text-align:left;margin:0px;" class="hidden-mobile name-class">{{ brick[3] }}</td>
<td class="hidden-mobile">{{ brick[7] }}</td>
<td style="text-align:left;margin:0px;width:100%;" class="hidden-mobile name-class">{{ brick[3] }}</td>
<td style="white-space: nowrap;" class="hidden-mobile">{{ brick[7] }}</td>
<td style="text-align: center;">{{ brick[8] }}</td>
<td class="centered-cell">
<div class="inputContainer">