Skip to content

Commit

Permalink
1145: updates post review
Browse files Browse the repository at this point in the history
  • Loading branch information
yepzdk committed Apr 16, 2024
1 parent 3f6d7a3 commit c4221a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
*/
#}
<div class="aside-contact-info d-flex flex-column">
{% if block_content.field_image %}
{% if block_content.field_image|file_url %}
<img class="aside-contact-info-image" src="{{ block_content.field_image|file_url }}" alt="" />
{% endif %}
<div class="aside-contact-info-text">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{{ content.field_project_image }}
</div>
<div{{ attributes.addClass('activity-teaser-content') }}>
<h3 class="activity-teaser-title">{{ label[0]['#context'].value|length > 40 ? label[0]['#context'].value|slice(0, 40) ~ '...' : label }}</h3>
<h3 class="activity-teaser-title pt-3 mb-3 line-clamp-2">{{ label }}</h3>
<div class="activity-teaser-description py-0 line-clamp-3">
{{ node.field_short_description.value }}
</div>
Expand Down

0 comments on commit c4221a2

Please sign in to comment.