skip to Main Content

Html – How to hide text if prior text wraps onto new line in JavaScript?

Using Jinja2 templating engine <div class="card-footer d-flex justify-content-between"> <small class="me-2 d-flex gap-2 description-container"> <span id="description-text" class="description-text"> {% if photo.description %} {{ photo.description }} {% endif %} </span> <span id="dimension-text" class="dimension-text text-muted"> {% if photo.width and photo.height %} (Dimensions: {{ photo.width…

VIEW QUESTION
Back To Top
Search