chore: thumbnail loading optimization

This commit is contained in:
2024-09-06 15:23:22 +02:00
parent f0863b2459
commit b8f135a454
2 changed files with 9 additions and 21 deletions
+2 -11
View File
@@ -8,7 +8,7 @@
:key="i"
>
<div class="stock-text">
<p>{{ vehicleName.replace(/_/g, ' ') }}</p>
<div>{{ vehicleName.replace(/_/g, ' ') }}</div>
<small v-if="vehicleCargo">({{ vehicleCargo }})</small>
</div>
@@ -189,20 +189,11 @@ ul > li > span {
cursor: crosshair;
}
img {
max-height: 60px;
width: auto;
height: auto;
}
img.traction-only {
max-width: 100%;
}
.stock-text {
text-align: center;
color: #aaa;
font-size: 0.9em;
margin-bottom: 0.25em;
padding: 0.25em 0;
}
</style>