|
@@ -17,7 +17,7 @@
|
|
|
<div class="row g-3 align-items-center">
|
|
<div class="row g-3 align-items-center">
|
|
|
<div class="col-12 col-lg-auto text-center text-lg-start">
|
|
<div class="col-12 col-lg-auto text-center text-lg-start">
|
|
|
{% if vehiculo.foto %}
|
|
{% if vehiculo.foto %}
|
|
|
- <p><img src="{{ vehiculo.foto.url }}" alt="{{ vehiculo.matricula}}" style="width: 484px; height: 343px; object-fit: cover;"></p>
|
|
|
|
|
|
|
+ <p><img src="{{ vehiculo.foto.url }}" alt="{{ vehiculo.matricula}}" class="img-fluid" style="max-width: 100%; height: auto; max-height: 343px; object-fit: contain;"></p>
|
|
|
{% else %}
|
|
{% else %}
|
|
|
<p>No hay imágen disponible</p>
|
|
<p>No hay imágen disponible</p>
|
|
|
{% endif %}
|
|
{% endif %}
|