Skip to content

Commit

Permalink
[#2665] Fix phone-parsing safari
Browse files Browse the repository at this point in the history
  • Loading branch information
jiromaykin committed Aug 22, 2024
1 parent 24881d7 commit b7c6a77
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions src/open_inwoner/scss/views/_view.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,13 @@
display: inline;
}
}

// Remove Safar phone-parsing from specific elements
.phone-parsing {
pointer-events: none;
}
.phone-parsing > a {
text-decoration: none;
color: inherit;
}
}
4 changes: 2 additions & 2 deletions src/open_inwoner/templates/pages/cases/list_inner.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h2 class="card__heading-2">{{ case.naam }}</h2>
<!-- other cases -->
{% else %}
<a href="{% url 'cases:case_detail' api_group_id=case.api_group.id object_id=case.uuid %}" class="card card card__description-card card--stretch">
<div class="card__body">
<div class="card__body phone-parsing">

<h2 class="card__heading-2">{{ case.description }}</h2>
{# Meaningful sequence for accessibility: any text belonging to a heading must be below the heading #}
Expand All @@ -66,7 +66,7 @@ <h2 class="card__heading-2">{{ case.description }}</h2>
{% else %}
{% list_item "No status" caption=_("Status") compact=True strong=False %}
{% endif %}
{% list_item case.identification caption=_("Zaaknummer") compact=True strong=False %}
&zwj;{% list_item case.identification caption=_("Zaaknummer") compact=True strong=False %}
{% endrender_list %}

<span class="link link--icon link--secondary">
Expand Down

0 comments on commit b7c6a77

Please sign in to comment.