Skip to content

Commit

Permalink
Fix: Icon sizes on the profile pages and components (#824)
Browse files Browse the repository at this point in the history
  • Loading branch information
CamLamb authored Nov 28, 2024
1 parent c71edb0 commit a288430
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions src/dw_design_system/dwds/components/profile_info.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,14 @@ <h3>
<div class="content-footer">
{% spaceless %}
{% if email_address %}
<a class="content-with-icon" href="mailto:{{ email_address }}">{% include "dwds/icons/email.html" %}</a>
<a class="content-with-icon" href="mailto:{{ email_address }}">
{% include "dwds/icons/email.html" with extra_classes="small" %}
</a>
{% endif %}
{% if phone_number %}
<a class="content-with-icon" href="tel:{{ phone_number }}">{% include "dwds/icons/phone.html" %}</a>
<a class="content-with-icon" href="tel:{{ phone_number }}">
{% include "dwds/icons/phone.html" with extra_classes="small" %}
</a>
{% endif %}
{% endspaceless %}
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/peoplefinder/templates/peoplefinder/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ <h1 class="text-large" data-testid="full-name">{{ profile.full_name }}</h1>

{% if profile.uk_office_location.city %}
<div class="content-with-icon min-gap">
{% include "dwds/icons/marker.html" %}
{% include "dwds/icons/marker.html" with extra_classes="small" %}
{{ profile.uk_office_location.city }}
</div>
{% endif %}
Expand Down

0 comments on commit a288430

Please sign in to comment.